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.001184/0.001184, allocations: 105.2 kB / 16.41 MB, free: 6.5 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.001277/0.001277, allocations: 197.4 kB / 17.34 MB, free: 5.762 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.217/1.217, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7256/0.7256, allocations: 135.1 MB / 426.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 62.09 kB / 0.5863 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1307, allocations: 80.93 MB / 0.6653 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside): time 0.5016/0.6323, allocations: 175.8 MB / 0.837 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01301/0.6454, allocations: 10.75 MB / 0.8475 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.6466, allocations: 40.28 kB / 0.8475 GB, free: 496 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.6476, allocations: 388.1 kB / 0.8479 GB, free: 152 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002872/0.6505, allocations: 1.011 MB / 0.8489 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003676/0.6542, allocations: 1.661 MB / 0.8505 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002405/0.6567, allocations: 2.162 MB / 0.8526 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001616/0.6583, allocations: 1.401 MB / 0.854 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002844/0.6611, allocations: 1.221 MB / 0.8551 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007928/0.6619, allocations: 0.7385 MB / 0.8559 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.6621, allocations: 146.9 kB / 0.856 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002564/0.6647, allocations: 1.4 MB / 0.8574 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003604/0.665, allocations: 422.8 kB / 0.8578 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006328/0.6657, allocations: 0.7162 MB / 0.8585 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003188/0.6689, allocations: 2.438 MB / 0.8609 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6689, allocations: 0 / 0.8609 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of FrontEnd: time 9.92e-07/0.6689, allocations: 0 / 0.8609 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.807e-05/0.6689, allocations: 0 / 0.8609 GB, free: 6.922 MB / 0.6231 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.002664/0.6716, allocations: 1.776 MB / 0.8626 GB, free: 5.09 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.6716, allocations: 13.11 kB / 0.8626 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001999/0.6736, allocations: 341.9 kB / 0.8629 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.675, allocations: 0.9486 MB / 0.8639 GB, free: 3.75 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.493e-05/0.675, allocations: 82.23 kB / 0.8639 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.6752, allocations: 115.9 kB / 0.864 GB, free: 3.555 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001853/0.677, allocations: 1.234 MB / 0.8652 GB, free: 2.254 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.6771, allocations: 4 kB / 0.8653 GB, free: 2.25 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.6772, allocations: 48 kB / 0.8653 GB, free: 2.203 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.6772, allocations: 28 kB / 0.8653 GB, free: 2.176 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00202/0.6792, allocations: 1.401 MB / 0.8667 GB, free: 0.7695 MB / 0.6231 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.005002/0.6843, allocations: 3.662 MB / 0.8703 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.6861, allocations: 1.124 MB / 0.8714 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006445/0.6867, allocations: 425.7 kB / 0.8718 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006909/0.6874, allocations: 425.4 kB / 0.8722 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009121/0.6883, allocations: 0.5864 MB / 0.8728 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=97): time 2.415e-06/0.6883, allocations: 4 kB / 0.8728 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of matching and sorting (n=97): time 0.003552/0.6919, allocations: 1.489 MB / 0.8742 GB, free: 8.766 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.437e-05/0.692, allocations: 188.9 kB / 0.8744 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009833/0.693, allocations: 0.8397 MB / 0.8752 GB, free: 7.672 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.293e-05/0.6931, allocations: 49.69 kB / 0.8753 GB, free: 7.617 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000357/0.6934, allocations: 496.3 kB / 0.8757 GB, free: 7.125 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002383/0.6937, allocations: 339.1 kB / 0.8761 GB, free: 6.789 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002695/0.694, allocations: 194.5 kB / 0.8762 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.6941, allocations: 337.9 kB / 0.8766 GB, free: 6.254 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000612/0.6947, allocations: 349.8 kB / 0.8769 GB, free: 5.914 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000719/0.6954, allocations: 481.6 kB / 0.8774 GB, free: 5.422 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/0.6967, allocations: 0.8132 MB / 0.8781 GB, free: 4.59 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.6968, allocations: 3.938 kB / 0.8782 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002171/0.6989, allocations: 1.083 MB / 0.8792 GB, free: 3.492 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.699, allocations: 8.156 kB / 0.8792 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.699, allocations: 4 kB / 0.8792 GB, free: 3.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005676/0.6995, allocations: 88.75 kB / 0.8793 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00086/0.7004, allocations: 215.7 kB / 0.8795 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/0.7023, allocations: 1.651 MB / 0.8811 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007657/0.7031, allocations: 113.3 kB / 0.8812 GB, free: 1.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.969e-05/0.7032, allocations: 43.97 kB / 0.8813 GB, free: 1.227 MB / 0.6387 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.0004697/0.7036, allocations: 302.6 kB / 0.8816 GB, free: 0.9219 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/0.7038, allocations: 114.7 kB / 0.8817 GB, free: 0.8086 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002598/0.7064, allocations: 1.407 MB / 0.883 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.7064, allocations: 12 kB / 0.8831 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.7065, allocations: 3.938 kB / 0.8831 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.7065, allocations: 3.984 kB / 0.8831 GB, free: 15.36 MB / 0.6544 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.003898/0.7104, allocations: 2.643 MB / 0.8856 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.7104, allocations: 0 / 0.8856 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008108/0.7112, allocations: 196 kB / 0.8858 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004176/0.7116, allocations: 84.72 kB / 0.8859 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.139e-05/0.7117, allocations: 23.98 kB / 0.8859 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001701/0.7134, allocations: 1.689 MB / 0.8876 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7134, allocations: 0 / 0.8876 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002787/0.7162, allocations: 1.721 MB / 0.8893 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000403/0.7166, allocations: 327.4 kB / 0.8896 GB, free: 8.375 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.7168, allocations: 23.98 kB / 0.8896 GB, free: 8.352 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007277/0.7175, allocations: 63.88 kB / 0.8897 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.7177, allocations: 68.91 kB / 0.8897 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.953e-05/0.7177, allocations: 55.91 kB / 0.8898 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006989/0.7184, allocations: 0.5936 MB / 0.8904 GB, free: 7.562 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7185, allocations: 0 / 0.8904 GB, free: 7.562 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009931/0.7195, allocations: 423.1 kB / 0.8908 GB, free: 7.148 MB / 0.6544 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.001426/0.7209, allocations: 0.7014 MB / 0.8915 GB, free: 6.629 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001776/0.7227, allocations: 1.023 MB / 0.8924 GB, free: 5.59 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.7227, allocations: 0 / 0.8924 GB, free: 5.59 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009469/0.7236, allocations: 0.6099 MB / 0.893 GB, free: 4.969 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/0.7254, allocations: 0.4962 MB / 0.8935 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00419/0.7296, allocations: 2.417 MB / 0.8959 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006304/0.7303, allocations: 1.13 MB / 0.897 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003859/0.7306, allocations: 147.4 kB / 0.8971 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of SimCode: time 9.22e-07/0.7307, allocations: 0 / 0.8971 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of Templates: time 0.02823/0.7589, allocations: 25.65 MB / 0.9222 GB, free: 7.152 MB / 0.6856 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++17 -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