Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD200.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.WD200,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_Validation_BESTEST_WD200",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.Validation.BESTEST.WD200,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_Validation_BESTEST_WD200",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.826/1.826, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.001007/0.001007, allocations: 183.8 kB / 490.8 MB, free: 1.891 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.161/1.161, allocations: 221.3 MB / 0.7863 GB, free: 13.64 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.0008681/0.0008681, allocations: 103.8 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4207/0.4216, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.6217, allocations: 143 MB / 1.212 GB, free: 39.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.667/3.289, allocations: 1.753 GB / 2.964 GB, free: 93.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/3.289, allocations: 81.89 kB / 2.964 GB, free: 93.26 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.232/4.521, allocations: 417.1 MB / 3.372 GB, free: 140.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/4.521, allocations: 12 kB / 3.372 GB, free: 140.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04382/4.565, allocations: 7.082 MB / 3.379 GB, free: 133.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007302/4.572, allocations: 3.691 MB / 3.382 GB, free: 129.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002513/4.573, allocations: 268 kB / 3.382 GB, free: 129 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00219/4.575, allocations: 468 kB / 3.383 GB, free: 128.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02052/4.595, allocations: 10.65 MB / 3.393 GB, free: 117.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01574/4.611, allocations: 8.787 MB / 3.402 GB, free: 109 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001348/4.611, allocations: 3.938 kB / 3.402 GB, free: 109 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008217/4.612, allocations: 8 kB / 3.402 GB, free: 109 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001051/4.612, allocations: 204 kB / 3.402 GB, free: 108.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0554/4.668, allocations: 31.26 MB / 3.433 GB, free: 76.46 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01038/4.678, allocations: 6.801 MB / 3.439 GB, free: 69.65 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005155/4.683, allocations: 3.782 MB / 3.443 GB, free: 65.85 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009969/4.684, allocations: 0.6821 MB / 3.444 GB, free: 65.07 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006008/4.69, allocations: 4.51 MB / 3.448 GB, free: 60.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=689): time 8.035e-06/4.69, allocations: 0 / 3.448 GB, free: 60.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=689): time 0.01573/4.706, allocations: 8.152 MB / 3.456 GB, free: 52.27 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.394e-05/4.706, allocations: 459.1 kB / 3.456 GB, free: 51.72 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002678/4.709, allocations: 2.096 MB / 3.458 GB, free: 49.61 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0005802/4.709, allocations: 29.7 kB / 3.459 GB, free: 49.57 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001275/4.711, allocations: 2.199 MB / 3.461 GB, free: 47.34 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001414/4.712, allocations: 2.139 MB / 3.463 GB, free: 45.17 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005678/4.713, allocations: 0 / 3.463 GB, free: 45.17 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001865/4.713, allocations: 0.5226 MB / 3.463 GB, free: 44.64 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004505/4.717, allocations: 3.007 MB / 3.466 GB, free: 41.63 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004774/4.722, allocations: 3.541 MB / 3.47 GB, free: 37.99 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007338/4.729, allocations: 3.943 MB / 3.473 GB, free: 34.02 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.798e-06/4.729, allocations: 0 / 3.473 GB, free: 34.02 MB / 1.151 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.01615/4.746, allocations: 8.482 MB / 3.482 GB, free: 25.46 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/4.746, allocations: 11.94 kB / 3.482 GB, free: 25.45 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/4.746, allocations: 8.219 kB / 3.482 GB, free: 25.45 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/4.747, allocations: 185.5 kB / 3.482 GB, free: 25.26 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01281/4.76, allocations: 2.028 MB / 3.484 GB, free: 23.23 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003013/4.763, allocations: 2.926 MB / 3.487 GB, free: 20.06 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009854/4.772, allocations: 0.9672 MB / 3.488 GB, free: 19.09 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000889/4.773, allocations: 307.6 kB / 3.488 GB, free: 18.79 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.001267/4.775, allocations: 210.7 kB / 3.488 GB, free: 18.57 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009387/4.776, allocations: 446.5 kB / 3.489 GB, free: 18.13 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02388/4.799, allocations: 10.54 MB / 3.499 GB, free: 7.508 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.866e-05/4.8, allocations: 71.94 kB / 3.499 GB, free: 7.438 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/4.8, allocations: 4 kB / 3.499 GB, free: 7.434 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.803e-05/4.8, allocations: 35.86 kB / 3.499 GB, free: 7.398 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5746/5.374, allocations: 18.1 MB / 3.517 GB, free: 404.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/5.374, allocations: 0 / 3.517 GB, free: 404.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01158/5.386, allocations: 1.907 MB / 3.519 GB, free: 404.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009837/5.387, allocations: 190 kB / 3.519 GB, free: 404.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007354/5.388, allocations: 149.8 kB / 3.519 GB, free: 404.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002793/5.39, allocations: 2.963 MB / 3.522 GB, free: 402.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/5.39, allocations: 0 / 3.522 GB, free: 402.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01523/5.406, allocations: 8.461 MB / 3.53 GB, free: 401.9 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01516/5.421, allocations: 8.943 MB / 3.539 GB, free: 401.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00277/5.424, allocations: 1.829 MB / 3.541 GB, free: 400.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001154/5.425, allocations: 3.875 kB / 3.541 GB, free: 400.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00856/5.433, allocations: 0.73 MB / 3.541 GB, free: 400.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006141/5.434, allocations: 360.5 kB / 3.542 GB, free: 400.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008282/5.435, allocations: 278.6 kB / 3.542 GB, free: 400.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.002254/5.437, allocations: 1.778 MB / 3.544 GB, free: 400.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005077/5.442, allocations: 1.958 MB / 3.546 GB, free: 400.5 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.002162/5.444, allocations: 1.286 MB / 3.547 GB, free: 400.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0113/5.456, allocations: 7.828 MB / 3.554 GB, free: 400 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/5.456, allocations: 0 / 3.554 GB, free: 400 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.005846/5.461, allocations: 4.361 MB / 3.559 GB, free: 399.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002994/5.464, allocations: 0.556 MB / 3.559 GB, free: 399.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02067/5.485, allocations: 10.58 MB / 3.57 GB, free: 397.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006995/5.492, allocations: 4.352 MB / 3.574 GB, free: 396.8 MB / 1.151 GB Notification: Performance of SimCode: time 6.02e-07/5.492, allocations: 0 / 3.574 GB, free: 396.8 MB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD200.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD200.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD200.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD200.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD200_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_Validation_BESTEST_WD200_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_Validation_BESTEST_WD200.fmu > Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD200.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD200_res.mat does not exist to compare? outputFormat=mat