Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD400.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.WD400,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_Validation_BESTEST_WD400",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.Validation.BESTEST.WD400,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_Validation_BESTEST_WD400",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.819/1.819, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.0009577/0.0009576, allocations: 177.3 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.147/1.147, allocations: 221.4 MB / 0.7863 GB, free: 13.62 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.0008222/0.0008222, allocations: 92.69 kB / 0.9264 GB, free: 14.14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4306/0.4314, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.6154, allocations: 143 MB / 1.212 GB, free: 39.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.619/3.235, allocations: 1.753 GB / 2.964 GB, free: 118.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/3.235, allocations: 87.89 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.227/4.462, allocations: 417.1 MB / 3.372 GB, free: 159.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/4.462, allocations: 12 kB / 3.372 GB, free: 159.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04374/4.506, allocations: 7.082 MB / 3.379 GB, free: 152.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008622/4.515, allocations: 3.687 MB / 3.382 GB, free: 148.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003208/4.515, allocations: 268 kB / 3.382 GB, free: 148.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002723/4.518, allocations: 468 kB / 3.383 GB, free: 147.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02229/4.54, allocations: 10.65 MB / 3.393 GB, free: 137.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02189/4.562, allocations: 8.794 MB / 3.402 GB, free: 128.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002389/4.562, allocations: 0 / 3.402 GB, free: 128.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00224/4.565, allocations: 7.984 kB / 3.402 GB, free: 128.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/4.565, allocations: 200 kB / 3.402 GB, free: 128.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0619/4.627, allocations: 31.26 MB / 3.433 GB, free: 95.71 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01216/4.639, allocations: 6.801 MB / 3.439 GB, free: 88.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005733/4.645, allocations: 3.778 MB / 3.443 GB, free: 85.11 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001039/4.646, allocations: 0.6782 MB / 3.444 GB, free: 84.33 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006686/4.652, allocations: 4.51 MB / 3.448 GB, free: 79.76 MB / 1.151 GB Notification: Performance of pre-optimization done (n=689): time 7.093e-06/4.652, allocations: 0 / 3.448 GB, free: 79.76 MB / 1.151 GB Notification: Performance of matching and sorting (n=689): time 0.01628/4.669, allocations: 8.148 MB / 3.456 GB, free: 71.53 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.597e-05/4.669, allocations: 463.1 kB / 3.456 GB, free: 70.98 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002745/4.672, allocations: 2.096 MB / 3.458 GB, free: 68.87 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0005801/4.672, allocations: 33.7 kB / 3.459 GB, free: 68.83 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001332/4.673, allocations: 2.191 MB / 3.461 GB, free: 66.61 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001425/4.675, allocations: 2.143 MB / 3.463 GB, free: 64.43 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005475/4.675, allocations: 4 kB / 3.463 GB, free: 64.43 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001868/4.676, allocations: 0.5187 MB / 3.463 GB, free: 63.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004663/4.68, allocations: 3.015 MB / 3.466 GB, free: 60.88 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004849/4.685, allocations: 3.533 MB / 3.47 GB, free: 57.25 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007383/4.693, allocations: 3.939 MB / 3.473 GB, free: 53.28 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/4.693, allocations: 0 / 3.473 GB, free: 53.28 MB / 1.151 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.01655/4.709, allocations: 8.474 MB / 3.482 GB, free: 44.73 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/4.709, allocations: 7.984 kB / 3.482 GB, free: 44.73 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/4.709, allocations: 7.906 kB / 3.482 GB, free: 44.72 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/4.71, allocations: 185.8 kB / 3.482 GB, free: 44.53 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01258/4.723, allocations: 2.036 MB / 3.484 GB, free: 42.49 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003041/4.726, allocations: 2.926 MB / 3.487 GB, free: 39.33 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0099/4.736, allocations: 0.9789 MB / 3.488 GB, free: 38.34 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001138/4.737, allocations: 315.6 kB / 3.488 GB, free: 38.04 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.00148/4.739, allocations: 187.8 kB / 3.488 GB, free: 37.84 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00132/4.74, allocations: 450.5 kB / 3.489 GB, free: 37.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02529/4.765, allocations: 10.54 MB / 3.499 GB, free: 26.77 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.325e-05/4.765, allocations: 79.89 kB / 3.499 GB, free: 26.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.939e-05/4.765, allocations: 0 / 3.499 GB, free: 26.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.253e-05/4.765, allocations: 35.86 kB / 3.499 GB, free: 26.66 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0293/4.795, allocations: 18.12 MB / 3.517 GB, free: 8.348 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.516e-05/4.795, allocations: 0 / 3.517 GB, free: 8.348 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01222/4.807, allocations: 1.904 MB / 3.519 GB, free: 6.441 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001047/4.808, allocations: 185.5 kB / 3.519 GB, free: 6.254 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000997/4.809, allocations: 139.8 kB / 3.519 GB, free: 6.117 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002853/4.812, allocations: 2.972 MB / 3.522 GB, free: 2.902 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/4.812, allocations: 3.906 kB / 3.522 GB, free: 2.898 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.6082/5.42, allocations: 8.466 MB / 3.53 GB, free: 408.7 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01586/5.436, allocations: 8.937 MB / 3.539 GB, free: 407.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002839/5.439, allocations: 1.83 MB / 3.541 GB, free: 407.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001158/5.44, allocations: 3.562 kB / 3.541 GB, free: 407.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0086/5.449, allocations: 0.7202 MB / 3.541 GB, free: 407.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006049/5.449, allocations: 369 kB / 3.542 GB, free: 407.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007997/5.45, allocations: 274.5 kB / 3.542 GB, free: 407.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.002199/5.452, allocations: 1.779 MB / 3.544 GB, free: 407.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005371/5.458, allocations: 1.959 MB / 3.546 GB, free: 407.3 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.00203/5.46, allocations: 1.293 MB / 3.547 GB, free: 407.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01146/5.471, allocations: 7.827 MB / 3.555 GB, free: 406.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/5.471, allocations: 0 / 3.555 GB, free: 406.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.006059/5.477, allocations: 4.363 MB / 3.559 GB, free: 406.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003406/5.481, allocations: 0.5522 MB / 3.559 GB, free: 406.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02024/5.501, allocations: 10.58 MB / 3.57 GB, free: 404.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007028/5.508, allocations: 4.348 MB / 3.574 GB, free: 403.6 MB / 1.151 GB Notification: Performance of SimCode: time 7.31e-07/5.508, allocations: 0 / 3.574 GB, free: 403.6 MB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD400.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD400.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD400.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD400.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD400_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_Validation_BESTEST_WD400_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_Validation_BESTEST_WD400.fmu > Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD400.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD400_res.mat does not exist to compare? outputFormat=mat