Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD500.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.Validation.BESTEST.WD500,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_Validation_BESTEST_WD500",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.Validation.BESTEST.WD500,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_Validation_BESTEST_WD500",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/Buildings 10.0.0-master/package.mo): time 1.843/1.843, allocations: 390.4 MB / 397.7 MB, free: 11.24 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009454/0.0009454, allocations: 173.3 kB / 490.8 MB, free: 1.941 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.155/1.155, allocations: 221.3 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008656/0.0008656, allocations: 102.3 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4323/0.4332, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.6197, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.673/3.292, allocations: 1.753 GB / 2.964 GB, free: 114.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001703/3.293, allocations: 83.95 kB / 2.964 GB, free: 114.1 MB / 1.151 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.226/4.519, allocations: 417.1 MB / 3.372 GB, free: 154.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/4.519, allocations: 8 kB / 3.372 GB, free: 154.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04343/4.562, allocations: 7.074 MB / 3.379 GB, free: 147.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007653/4.57, allocations: 3.687 MB / 3.382 GB, free: 144 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002944/4.57, allocations: 272 kB / 3.382 GB, free: 143.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002522/4.573, allocations: 468 kB / 3.383 GB, free: 143.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02118/4.594, allocations: 10.65 MB / 3.393 GB, free: 132.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0194/4.614, allocations: 8.79 MB / 3.402 GB, free: 123.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001802/4.614, allocations: 0 / 3.402 GB, free: 123.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001616/4.615, allocations: 4 kB / 3.402 GB, free: 123.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000107/4.616, allocations: 200 kB / 3.402 GB, free: 123.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05765/4.673, allocations: 31.26 MB / 3.433 GB, free: 91.12 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01149/4.685, allocations: 6.809 MB / 3.439 GB, free: 84.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005882/4.691, allocations: 3.782 MB / 3.443 GB, free: 80.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001144/4.692, allocations: 0.6743 MB / 3.444 GB, free: 79.73 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007545/4.699, allocations: 4.506 MB / 3.448 GB, free: 75.16 MB / 1.151 GB Notification: Performance of pre-optimization done (n=689): time 9.638e-06/4.699, allocations: 0 / 3.448 GB, free: 75.16 MB / 1.151 GB Notification: Performance of matching and sorting (n=689): time 0.01855/4.718, allocations: 8.148 MB / 3.456 GB, free: 66.93 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/4.718, allocations: 474.9 kB / 3.456 GB, free: 66.37 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003813/4.722, allocations: 2.096 MB / 3.458 GB, free: 64.26 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0008945/4.723, allocations: 25.7 kB / 3.459 GB, free: 64.23 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001467/4.724, allocations: 2.203 MB / 3.461 GB, free: 62 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001796/4.726, allocations: 2.143 MB / 3.463 GB, free: 59.82 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008028/4.727, allocations: 0 / 3.463 GB, free: 59.82 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0002305/4.727, allocations: 0.5187 MB / 3.463 GB, free: 59.29 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005026/4.732, allocations: 3.011 MB / 3.466 GB, free: 56.28 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005408/4.738, allocations: 3.545 MB / 3.47 GB, free: 52.63 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008028/4.746, allocations: 3.935 MB / 3.474 GB, free: 48.67 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/4.746, allocations: 0 / 3.474 GB, free: 48.67 MB / 1.151 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.01762/4.763, allocations: 8.482 MB / 3.482 GB, free: 40.11 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/4.763, allocations: 4 kB / 3.482 GB, free: 40.11 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/4.763, allocations: 4 kB / 3.482 GB, free: 40.11 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/4.764, allocations: 189.8 kB / 3.482 GB, free: 39.91 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01247/4.777, allocations: 2.032 MB / 3.484 GB, free: 37.88 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002998/4.78, allocations: 2.918 MB / 3.487 GB, free: 34.72 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009711/4.79, allocations: 0.9828 MB / 3.488 GB, free: 33.73 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001113/4.791, allocations: 311.6 kB / 3.488 GB, free: 33.43 MB / 1.151 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.001479/4.792, allocations: 194.7 kB / 3.488 GB, free: 33.23 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001362/4.794, allocations: 442.5 kB / 3.489 GB, free: 32.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02535/4.819, allocations: 10.54 MB / 3.499 GB, free: 22.16 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.103e-05/4.819, allocations: 72 kB / 3.499 GB, free: 22.09 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/4.819, allocations: 0 / 3.499 GB, free: 22.09 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-05/4.819, allocations: 39.8 kB / 3.499 GB, free: 22.05 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0294/4.849, allocations: 18.12 MB / 3.517 GB, free: 3.75 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/4.849, allocations: 0 / 3.517 GB, free: 3.75 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01191/4.861, allocations: 1.907 MB / 3.519 GB, free: 1.84 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001054/4.862, allocations: 185.5 kB / 3.519 GB, free: 1.652 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008572/4.862, allocations: 151.7 kB / 3.519 GB, free: 1.504 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5862/5.449, allocations: 2.951 MB / 3.522 GB, free: 407.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/5.449, allocations: 3.844 kB / 3.522 GB, free: 407.7 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01802/5.467, allocations: 8.469 MB / 3.53 GB, free: 407.3 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01664/5.483, allocations: 8.941 MB / 3.539 GB, free: 406.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003246/5.487, allocations: 1.825 MB / 3.541 GB, free: 406.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001429/5.488, allocations: 8.781 kB / 3.541 GB, free: 406.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009339/5.497, allocations: 0.7244 MB / 3.541 GB, free: 406.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007962/5.498, allocations: 366.2 kB / 3.542 GB, free: 406.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009163/5.499, allocations: 274.7 kB / 3.542 GB, free: 406.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.002601/5.502, allocations: 1.777 MB / 3.544 GB, free: 406.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005822/5.508, allocations: 1.953 MB / 3.546 GB, free: 405.9 MB / 1.151 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.002129/5.51, allocations: 1.288 MB / 3.547 GB, free: 405.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01157/5.521, allocations: 7.826 MB / 3.554 GB, free: 405.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/5.521, allocations: 0 / 3.554 GB, free: 405.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.006331/5.528, allocations: 4.364 MB / 3.559 GB, free: 405.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00337/5.531, allocations: 0.5614 MB / 3.559 GB, free: 405.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02283/5.554, allocations: 10.58 MB / 3.57 GB, free: 403 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007544/5.562, allocations: 4.343 MB / 3.574 GB, free: 402.2 MB / 1.151 GB Notification: Performance of SimCode: time 6.11e-07/5.562, allocations: 0 / 3.574 GB, free: 402.2 MB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD500.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD500.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD500.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD500.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD500_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_Validation_BESTEST_WD500_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_Validation_BESTEST_WD500.fmu > Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD500.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD500_res.mat does not exist to compare? outputFormat=mat