Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside") translateModel(IDEAS.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005499/0.005499, allocations: 101.6 kB / 15.88 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 193.9 kB / 16.78 MB, free: 5.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9862/0.9862, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 72.56 kB / 0.5053 GB, free: 5.723 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.16, allocations: 80.92 MB / 0.5843 GB, free: 4.969 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside): time 0.4504/0.6104, allocations: 173.5 MB / 0.7538 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01414/0.6246, allocations: 10.78 MB / 0.7643 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00146/0.6261, allocations: 31.81 kB / 0.7643 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.6273, allocations: 317.9 kB / 0.7646 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002844/0.6302, allocations: 0.9038 MB / 0.7655 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003931/0.6342, allocations: 1.5 MB / 0.767 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002853/0.6371, allocations: 2.463 MB / 0.7694 GB, free: 60 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001762/0.6388, allocations: 1.271 MB / 0.7706 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003505/0.6423, allocations: 1.08 MB / 0.7717 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.6435, allocations: 0.7311 MB / 0.7724 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001892/0.6437, allocations: 72 kB / 0.7725 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002852/0.6465, allocations: 1.446 MB / 0.7739 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003478/0.6469, allocations: 358.8 kB / 0.7742 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006904/0.6476, allocations: 0.6488 MB / 0.7748 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00223/0.6498, allocations: 1.77 MB / 0.7766 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6499, allocations: 0 / 0.7766 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6499, allocations: 4 kB / 0.7766 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.985e-05/0.6499, allocations: 0 / 0.7766 GB, free: 8.641 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.003017/0.6529, allocations: 1.775 MB / 0.7783 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.653, allocations: 8.031 kB / 0.7783 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002164/0.6551, allocations: 349.8 kB / 0.7787 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.6566, allocations: 0.9019 MB / 0.7795 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.728e-05/0.6567, allocations: 86.17 kB / 0.7796 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/0.6569, allocations: 115.9 kB / 0.7797 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002144/0.659, allocations: 1.234 MB / 0.7809 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.659, allocations: 0 / 0.7809 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.6592, allocations: 48 kB / 0.781 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.537e-05/0.6592, allocations: 24 kB / 0.781 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002244/0.6614, allocations: 1.406 MB / 0.7824 GB, free: 2.531 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00582/0.6673, allocations: 3.701 MB / 0.786 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/0.6693, allocations: 1.128 MB / 0.7871 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006863/0.67, allocations: 415.7 kB / 0.7875 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007314/0.6707, allocations: 429.3 kB / 0.7879 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/0.6718, allocations: 0.5787 MB / 0.7885 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=97): time 3.226e-06/0.6718, allocations: 0 / 0.7885 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of matching and sorting (n=97): time 0.003955/0.6757, allocations: 1.493 MB / 0.7899 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.6759, allocations: 192.9 kB / 0.7901 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.677, allocations: 0.8396 MB / 0.7909 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.574e-05/0.6771, allocations: 49.7 kB / 0.791 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004073/0.6776, allocations: 496.3 kB / 0.7914 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002896/0.6779, allocations: 331.2 kB / 0.7918 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003132/0.6782, allocations: 198.4 kB / 0.7919 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.6783, allocations: 341.9 kB / 0.7923 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000682/0.679, allocations: 349.8 kB / 0.7926 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008352/0.6799, allocations: 485.5 kB / 0.7931 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001494/0.6814, allocations: 0.8094 MB / 0.7939 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.6814, allocations: 0 / 0.7939 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002442/0.6838, allocations: 1.083 MB / 0.7949 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.6839, allocations: 14.17 kB / 0.7949 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.6839, allocations: 0.625 kB / 0.7949 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006031/0.6845, allocations: 80.88 kB / 0.795 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009478/0.6854, allocations: 223.7 kB / 0.7952 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/0.6876, allocations: 1.538 MB / 0.7967 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.6886, allocations: 131 kB / 0.7968 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.6888, allocations: 43.97 kB / 0.7969 GB, free: 3.078 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005678/0.6893, allocations: 309.6 kB / 0.7972 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002415/0.6896, allocations: 114.6 kB / 0.7973 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002955/0.6925, allocations: 1.397 MB / 0.7987 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.6926, allocations: 12 kB / 0.7987 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.6926, allocations: 0 / 0.7987 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.6926, allocations: 3.984 kB / 0.7987 GB, free: 1.215 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004778/0.6974, allocations: 2.642 MB / 0.8013 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.6974, allocations: 7.938 kB / 0.8013 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008812/0.6983, allocations: 199.9 kB / 0.8015 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005055/0.6988, allocations: 84.78 kB / 0.8015 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.05e-05/0.6989, allocations: 27.97 kB / 0.8016 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/0.7008, allocations: 1.559 MB / 0.8031 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7008, allocations: 0 / 0.8031 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003409/0.7042, allocations: 1.727 MB / 0.8048 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000566/0.7048, allocations: 319.4 kB / 0.8051 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/0.705, allocations: 24 kB / 0.8051 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008294/0.7059, allocations: 87.77 kB / 0.8052 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.706, allocations: 76.89 kB / 0.8053 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.367e-05/0.7061, allocations: 39.98 kB / 0.8053 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008381/0.707, allocations: 0.5936 MB / 0.8059 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/0.707, allocations: 0 / 0.8059 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001201/0.7082, allocations: 423.2 kB / 0.8063 GB, free: 9.113 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001632/0.7098, allocations: 0.6935 MB / 0.807 GB, free: 8.637 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002223/0.7121, allocations: 1.015 MB / 0.8079 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.7121, allocations: 0 / 0.8079 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.7132, allocations: 0.606 MB / 0.8085 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/0.7154, allocations: 487.7 kB / 0.809 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005333/0.7207, allocations: 2.939 MB / 0.8119 GB, free: 3.531 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007257/0.7215, allocations: 1.134 MB / 0.813 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005132/0.722, allocations: 139.4 kB / 0.8131 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of SimCode: time 5e-07/0.722, allocations: 0 / 0.8131 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of Templates: time 0.03749/0.7595, allocations: 25.35 MB / 0.8379 GB, free: 8.996 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.makefile clang++ -std=c++14 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.OutsideCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.OutsideCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.OutsideCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.OutsideFunctions.cpp:8: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/C-Sources/getTimeSpan.c:27:9: error: cannot initialize a variable of type 'char *' with an rvalue of type 'void *' char *result = malloc(len1 + len2 + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.OutsideCalcHelperMain.o] Error 1