Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD300.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.Validation.BESTEST.WD300,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_Validation_BESTEST_WD300",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.Validation.BESTEST.WD300,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_Validation_BESTEST_WD300",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006459/0.006459, allocations: 180.2 kB / 7.455 MB, free: 2.246 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.84/0.84, allocations: 133.5 MB / 141.4 MB, free: 15.67 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 221.3 MB / 395 MB, free: 10.24 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009999/0.001, allocations: 103.1 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4604/0.4614, allocations: 88.41 MB / 0.5529 GB, free: 88.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.6325, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.958/4.59, allocations: 1.715 GB / 2.348 GB, free: 249.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/4.591, allocations: 91.83 kB / 2.348 GB, free: 249.6 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2137 * Number of variables: 2137 Notification: Performance of Generate backend data structure: time 1.613/6.204, allocations: 417.1 MB / 2.755 GB, free: 96.39 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.159e-05/6.204, allocations: 8 kB / 2.755 GB, free: 96.39 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04906/6.253, allocations: 7.08 MB / 2.762 GB, free: 89.38 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01227/6.265, allocations: 3.683 MB / 2.766 GB, free: 87.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006437/6.266, allocations: 272 kB / 2.766 GB, free: 87.04 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006378/6.273, allocations: 475.3 kB / 2.767 GB, free: 86.58 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03644/6.309, allocations: 10.65 MB / 2.777 GB, free: 77.16 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04183/6.351, allocations: 8.801 MB / 2.786 GB, free: 68.25 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003033/6.351, allocations: 0 / 2.786 GB, free: 68.25 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005165/6.356, allocations: 4 kB / 2.786 GB, free: 68.25 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001655/6.357, allocations: 204 kB / 2.786 GB, free: 68.05 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1031/6.46, allocations: 31.26 MB / 2.816 GB, free: 36.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02134/6.481, allocations: 6.791 MB / 2.823 GB, free: 29.82 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01133/6.493, allocations: 3.782 MB / 2.827 GB, free: 26.02 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00203/6.495, allocations: 0.6788 MB / 2.827 GB, free: 25.31 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01443/6.509, allocations: 4.498 MB / 2.832 GB, free: 20.75 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=689): time 2.345e-05/6.509, allocations: 4 kB / 2.832 GB, free: 20.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=689): time 0.0343/6.544, allocations: 8.155 MB / 2.84 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002185/6.544, allocations: 459.1 kB / 2.84 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005837/6.55, allocations: 2.099 MB / 2.842 GB, free: 9.863 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.003203/6.553, allocations: 25.7 kB / 2.842 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0028/6.556, allocations: 2.199 MB / 2.844 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00527/6.561, allocations: 2.143 MB / 2.847 GB, free: 5.426 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002853/6.564, allocations: 0 / 2.847 GB, free: 5.426 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0006848/6.565, allocations: 0.5226 MB / 2.847 GB, free: 4.895 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008626/6.573, allocations: 3.011 MB / 2.85 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.8801/7.453, allocations: 3.535 MB / 2.853 GB, free: 198.4 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01264/7.466, allocations: 3.938 MB / 2.857 GB, free: 198.3 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-05/7.466, allocations: 3.438 kB / 2.857 GB, free: 198.3 MB / 0.6824 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.02959/7.496, allocations: 8.481 MB / 2.866 GB, free: 198.1 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/7.496, allocations: 3.562 kB / 2.866 GB, free: 198.1 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-05/7.496, allocations: 4.625 kB / 2.866 GB, free: 198.1 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/7.497, allocations: 190.5 kB / 2.866 GB, free: 198 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0168/7.514, allocations: 2.022 MB / 2.868 GB, free: 198 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00427/7.518, allocations: 2.937 MB / 2.871 GB, free: 195.6 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01506/7.534, allocations: 0.9778 MB / 2.872 GB, free: 195.6 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004641/7.538, allocations: 315.5 kB / 2.872 GB, free: 195.6 MB / 0.6824 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition2,$whenCondition1,$PRE.weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,$PRE.weaDatTDryBulTDewPoinOpa.conTim.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext,$whenCondition4,$whenCondition3,$PRE.weaDatHHorIR.conTimMin.tNext,weaDatHHorIR.conTimMin.tNext,$PRE.weaDatHHorIR.conTim.tNext,weaDatHHorIR.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (756): * Single equations (assignments): 754 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.007686/7.546, allocations: 192.8 kB / 2.872 GB, free: 195.5 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004955/7.551, allocations: 448.7 kB / 2.872 GB, free: 195.5 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05005/7.601, allocations: 10.54 MB / 2.883 GB, free: 195.1 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001656/7.601, allocations: 71.72 kB / 2.883 GB, free: 195.1 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.55e-05/7.601, allocations: 3.469 kB / 2.883 GB, free: 195.1 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003662/7.602, allocations: 36.05 kB / 2.883 GB, free: 195.1 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06796/7.67, allocations: 18.11 MB / 2.901 GB, free: 194.1 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-05/7.67, allocations: 3.328 kB / 2.901 GB, free: 194.1 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01726/7.687, allocations: 1.908 MB / 2.902 GB, free: 194.1 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001447/7.689, allocations: 186.8 kB / 2.903 GB, free: 194.1 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003801/7.693, allocations: 146.2 kB / 2.903 GB, free: 194.1 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004147/7.697, allocations: 2.959 MB / 2.906 GB, free: 191.6 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.089e-05/7.697, allocations: 3.516 kB / 2.906 GB, free: 191.6 MB / 0.6824 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04081/7.738, allocations: 8.462 MB / 2.914 GB, free: 189.1 MB / 0.6824 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04113/7.779, allocations: 8.944 MB / 2.923 GB, free: 185.2 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0103/7.789, allocations: 1.825 MB / 2.924 GB, free: 184.1 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006688/7.796, allocations: 2.875 kB / 2.924 GB, free: 184.1 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01642/7.812, allocations: 0.725 MB / 2.925 GB, free: 184.1 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003917/7.816, allocations: 367.8 kB / 2.925 GB, free: 184 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004379/7.821, allocations: 280.5 kB / 2.926 GB, free: 184 MB / 0.6824 GB Notification: Performance of sort global known variables: time 0.006798/7.828, allocations: 1.777 MB / 2.927 GB, free: 183.2 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.01738/7.845, allocations: 1.959 MB / 2.929 GB, free: 182.9 MB / 0.6824 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext,$whenCondition4,$whenCondition3,weaDatHHorIR.conTimMin.tNext,weaDatHHorIR.conTim.tNext) * Number of discrete states: 4 (weaDatHHorIR.conTim.tNext,weaDatHHorIR.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (731): * Single equations (assignments): 725 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.007419/7.853, allocations: 1.281 MB / 2.931 GB, free: 182.7 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.02994/7.883, allocations: 7.823 MB / 2.938 GB, free: 179.3 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 1.56e-05/7.883, allocations: 0 / 2.938 GB, free: 179.3 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.01589/7.899, allocations: 4.363 MB / 2.943 GB, free: 177.4 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008774/7.907, allocations: 0.5576 MB / 2.943 GB, free: 177.3 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05503/7.962, allocations: 10.58 MB / 2.953 GB, free: 172.9 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02148/7.984, allocations: 4.351 MB / 2.958 GB, free: 172 MB / 0.6824 GB Notification: Performance of SimCode: time 2.725e-06/7.984, allocations: 0 / 2.958 GB, free: 172 MB / 0.6824 GB (rm -f IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD300.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD300.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD300.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD300.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_Validation_BESTEST_WD300_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_Validation_BESTEST_WD300.fmu > IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD300.pipe 2>&1)