Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.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.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData",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 2.204/2.204, 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.001156/0.001156, allocations: 173.3 kB / 490.8 MB, free: 1.957 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.343/1.343, allocations: 221.3 MB / 0.7863 GB, free: 13.8 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.000914/0.0009139, allocations: 105 kB / 0.9264 GB, free: 14.32 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4607/0.4617, allocations: 149.1 MB / 1.072 GB, free: 164.6 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.7013, allocations: 143 MB / 1.212 GB, free: 21.84 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.826/4.527, allocations: 1.938 GB / 3.15 GB, free: 365.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/4.528, allocations: 83.95 kB / 3.15 GB, free: 365.5 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: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.6303/5.158, allocations: 328.6 MB / 3.471 GB, free: 31.68 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/5.158, allocations: 8 kB / 3.471 GB, free: 31.67 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003732/5.162, allocations: 0.594 MB / 3.472 GB, free: 31.07 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003386/5.165, allocations: 2.243 MB / 3.474 GB, free: 28.78 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.149e-05/5.165, allocations: 52 kB / 3.474 GB, free: 28.73 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/5.165, allocations: 96 kB / 3.474 GB, free: 28.64 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002694/5.168, allocations: 1.876 MB / 3.476 GB, free: 26.76 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00233/5.17, allocations: 1.589 MB / 3.477 GB, free: 25.12 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.207e-05/5.171, allocations: 3.984 kB / 3.477 GB, free: 25.11 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/5.171, allocations: 4 kB / 3.477 GB, free: 25.11 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.926e-05/5.171, allocations: 43.94 kB / 3.477 GB, free: 25.07 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009076/5.18, allocations: 5.861 MB / 3.483 GB, free: 19.02 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002054/5.182, allocations: 1.808 MB / 3.485 GB, free: 17.14 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007882/5.183, allocations: 0.6713 MB / 3.485 GB, free: 16.46 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006744/5.183, allocations: 0.752 MB / 3.486 GB, free: 15.56 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001081/5.184, allocations: 0.8621 MB / 3.487 GB, free: 14.68 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 3.466e-06/5.184, allocations: 0 / 3.487 GB, free: 14.68 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.003871/5.188, allocations: 1.597 MB / 3.489 GB, free: 13.06 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.666e-05/5.188, allocations: 252.6 kB / 3.489 GB, free: 12.76 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002841/5.191, allocations: 2.346 MB / 3.491 GB, free: 10.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001712/5.191, allocations: 29.7 kB / 3.491 GB, free: 10.36 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004281/5.192, allocations: 0.5767 MB / 3.492 GB, free: 9.773 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003018/5.192, allocations: 437.4 kB / 3.492 GB, free: 9.34 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.779e-05/5.192, allocations: 0 / 3.492 GB, free: 9.34 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.022e-05/5.192, allocations: 345.9 kB / 3.492 GB, free: 8.996 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006359/5.193, allocations: 498.4 kB / 3.493 GB, free: 8.508 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007324/5.194, allocations: 0.6826 MB / 3.494 GB, free: 7.758 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008332/5.195, allocations: 0.5657 MB / 3.494 GB, free: 7.195 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/5.195, allocations: 0 / 3.494 GB, free: 7.195 MB / 1.151 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003048/5.198, allocations: 1.535 MB / 3.496 GB, free: 5.637 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/5.198, allocations: 7.125 kB / 3.496 GB, free: 5.633 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/5.198, allocations: 4 kB / 3.496 GB, free: 5.629 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/5.199, allocations: 216.1 kB / 3.496 GB, free: 5.402 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/5.2, allocations: 299.6 kB / 3.496 GB, free: 5.109 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5132/5.714, allocations: 6.502 MB / 3.503 GB, free: 437.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/5.716, allocations: 120.9 kB / 3.503 GB, free: 437.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/5.716, allocations: 66.81 kB / 3.503 GB, free: 437.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 126 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003834/5.716, allocations: 128.3 kB / 3.503 GB, free: 437.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003622/5.717, allocations: 172.4 kB / 3.503 GB, free: 437.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005088/5.722, allocations: 2.022 MB / 3.505 GB, free: 437.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/5.722, allocations: 14.31 kB / 3.505 GB, free: 437.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/5.722, allocations: 0 / 3.505 GB, free: 437.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.766e-05/5.722, allocations: 15.19 kB / 3.505 GB, free: 437.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006489/5.728, allocations: 3.864 MB / 3.509 GB, free: 436.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/5.728, allocations: 0 / 3.509 GB, free: 436.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/5.73, allocations: 315.8 kB / 3.509 GB, free: 436.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009419/5.731, allocations: 219.8 kB / 3.509 GB, free: 436.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/5.731, allocations: 28.78 kB / 3.509 GB, free: 436.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004367/5.735, allocations: 6.53 MB / 3.516 GB, free: 430.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/5.735, allocations: 0 / 3.516 GB, free: 430.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003468/5.739, allocations: 1.734 MB / 3.517 GB, free: 430.6 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003542/5.742, allocations: 2.198 MB / 3.52 GB, free: 429.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/5.744, allocations: 0.6573 MB / 3.52 GB, free: 429.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003498/5.744, allocations: 3.906 kB / 3.52 GB, free: 429.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/5.745, allocations: 108 kB / 3.52 GB, free: 429.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/5.746, allocations: 83.81 kB / 3.52 GB, free: 429.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001744/5.746, allocations: 86.05 kB / 3.52 GB, free: 429.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.002344/5.748, allocations: 1.813 MB / 3.522 GB, free: 429.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00327/5.751, allocations: 0.9227 MB / 3.523 GB, free: 429.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00276/5.754, allocations: 1.722 MB / 3.525 GB, free: 429.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00245/5.757, allocations: 1.712 MB / 3.526 GB, free: 428.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/5.757, allocations: 0.6562 kB / 3.526 GB, free: 428.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001332/5.758, allocations: 1.209 MB / 3.528 GB, free: 428.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00213/5.76, allocations: 424.7 kB / 3.528 GB, free: 428.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006925/5.767, allocations: 2.906 MB / 3.531 GB, free: 427.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002066/5.769, allocations: 1.862 MB / 3.533 GB, free: 426.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.372e-06/5.769, allocations: 0 / 3.533 GB, free: 426.9 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat does not exist to compare? outputFormat=mat