Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD300.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.WD300,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_Validation_BESTEST_WD300",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.Validation.BESTEST.WD300,fileNamePrefix="Buildings_latest_Buildings_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/Buildings 10.0.0-master/package.mo): time 1.824/1.824, allocations: 390.4 MB / 397.7 MB, free: 11.22 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.0009481/0.0009481, allocations: 181.2 kB / 490.8 MB, free: 1.898 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.166/1.166, allocations: 221.4 MB / 0.7863 GB, free: 13.63 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.0008371/0.000837, allocations: 89.55 kB / 0.9264 GB, free: 14.15 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4252/0.4261, allocations: 149.1 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.6071, allocations: 143 MB / 1.212 GB, free: 39.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.588/3.195, allocations: 1.753 GB / 2.964 GB, free: 118.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/3.196, allocations: 87.95 kB / 2.964 GB, free: 118.2 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.243/4.439, allocations: 417.1 MB / 3.372 GB, free: 159.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/4.439, allocations: 8 kB / 3.372 GB, free: 159.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04456/4.484, allocations: 7.082 MB / 3.379 GB, free: 152.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009888/4.493, allocations: 3.683 MB / 3.382 GB, free: 148.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002858/4.494, allocations: 268 kB / 3.382 GB, free: 148.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002023/4.496, allocations: 468 kB / 3.383 GB, free: 147.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02029/4.516, allocations: 10.65 MB / 3.393 GB, free: 137.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01678/4.533, allocations: 8.794 MB / 3.402 GB, free: 128.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001365/4.533, allocations: 3.938 kB / 3.402 GB, free: 128.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008629/4.534, allocations: 4 kB / 3.402 GB, free: 128.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000109/4.534, allocations: 200 kB / 3.402 GB, free: 128 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05681/4.591, allocations: 31.28 MB / 3.433 GB, free: 95.69 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01077/4.602, allocations: 6.797 MB / 3.439 GB, free: 88.88 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005535/4.607, allocations: 3.782 MB / 3.443 GB, free: 85.08 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001103/4.608, allocations: 0.6782 MB / 3.444 GB, free: 84.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006483/4.615, allocations: 4.498 MB / 3.448 GB, free: 79.74 MB / 1.151 GB Notification: Performance of pre-optimization done (n=689): time 8.105e-06/4.615, allocations: 0 / 3.448 GB, free: 79.74 MB / 1.151 GB Notification: Performance of matching and sorting (n=689): time 0.01648/4.631, allocations: 8.156 MB / 3.456 GB, free: 71.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/4.632, allocations: 467 kB / 3.456 GB, free: 70.95 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002885/4.634, allocations: 2.096 MB / 3.458 GB, free: 68.84 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0006769/4.635, allocations: 29.69 kB / 3.459 GB, free: 68.81 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001437/4.637, allocations: 2.199 MB / 3.461 GB, free: 66.58 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001672/4.638, allocations: 2.139 MB / 3.463 GB, free: 64.41 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005529/4.639, allocations: 0 / 3.463 GB, free: 64.41 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001919/4.639, allocations: 0.5226 MB / 3.463 GB, free: 63.88 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004766/4.644, allocations: 3.011 MB / 3.466 GB, free: 60.86 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005138/4.649, allocations: 3.533 MB / 3.47 GB, free: 57.23 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007723/4.657, allocations: 3.943 MB / 3.473 GB, free: 53.25 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.349e-05/4.657, allocations: 0 / 3.473 GB, free: 53.25 MB / 1.151 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.01723/4.674, allocations: 8.478 MB / 3.482 GB, free: 44.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/4.674, allocations: 4 kB / 3.482 GB, free: 44.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/4.674, allocations: 7.906 kB / 3.482 GB, free: 44.69 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/4.675, allocations: 185.7 kB / 3.482 GB, free: 44.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01299/4.688, allocations: 2.028 MB / 3.484 GB, free: 42.47 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00313/4.691, allocations: 2.926 MB / 3.487 GB, free: 39.31 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0108/4.702, allocations: 0.9789 MB / 3.488 GB, free: 38.32 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001715/4.704, allocations: 315.6 kB / 3.488 GB, free: 38.02 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.00145/4.705, allocations: 187.8 kB / 3.488 GB, free: 37.82 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00125/4.706, allocations: 454.4 kB / 3.489 GB, free: 37.38 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02478/4.731, allocations: 10.54 MB / 3.499 GB, free: 26.75 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.353e-05/4.731, allocations: 79.91 kB / 3.499 GB, free: 26.67 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/4.731, allocations: 0 / 3.499 GB, free: 26.67 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-05/4.731, allocations: 31.88 kB / 3.499 GB, free: 26.64 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02938/4.761, allocations: 18.12 MB / 3.517 GB, free: 8.332 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.901e-05/4.761, allocations: 4 kB / 3.517 GB, free: 8.328 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01221/4.773, allocations: 1.904 MB / 3.519 GB, free: 6.422 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001049/4.774, allocations: 189.5 kB / 3.519 GB, free: 6.23 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001039/4.775, allocations: 147.7 kB / 3.519 GB, free: 6.086 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002806/4.778, allocations: 2.961 MB / 3.522 GB, free: 2.883 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/4.778, allocations: 3.906 kB / 3.522 GB, free: 2.879 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.5538/5.332, allocations: 8.469 MB / 3.53 GB, free: 408.5 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01752/5.349, allocations: 8.935 MB / 3.539 GB, free: 407.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004074/5.354, allocations: 1.829 MB / 3.541 GB, free: 407.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001754/5.355, allocations: 6.516 kB / 3.541 GB, free: 407.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009393/5.365, allocations: 0.7198 MB / 3.541 GB, free: 407.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007948/5.366, allocations: 369.5 kB / 3.542 GB, free: 407.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009158/5.366, allocations: 277.8 kB / 3.542 GB, free: 407.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.002438/5.369, allocations: 1.782 MB / 3.544 GB, free: 407.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005781/5.375, allocations: 1.954 MB / 3.546 GB, free: 407.1 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.002121/5.377, allocations: 1.277 MB / 3.547 GB, free: 407 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01184/5.389, allocations: 7.829 MB / 3.554 GB, free: 406.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/5.389, allocations: 5.688 kB / 3.554 GB, free: 406.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0064/5.395, allocations: 4.365 MB / 3.559 GB, free: 406.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003207/5.398, allocations: 0.5586 MB / 3.559 GB, free: 406.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02153/5.42, allocations: 10.57 MB / 3.57 GB, free: 404.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007334/5.427, allocations: 4.346 MB / 3.574 GB, free: 403.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.383e-06/5.427, allocations: 0 / 3.574 GB, free: 403.4 MB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD300.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD300.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD300.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD300.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD300_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_Validation_BESTEST_WD300_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_Validation_BESTEST_WD300.fmu > Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD300.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD300_res.mat does not exist to compare? outputFormat=mat