Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",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 8.1.4-maint.8.1.x/package.mo): time 1.662/1.662, allocations: 289.8 MB / 297.1 MB, free: 6.621 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 177.3 kB / 366.3 MB, free: 1.992 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.1 MB / 0.6256 GB, free: 5.836 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009613/0.0009617, allocations: 95.72 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3023/0.3033, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7239/1.027, allocations: 116.3 MB / 0.9726 GB, free: 68.3 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1931/1.22, allocations: 144.2 MB / 1.113 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/1.221, allocations: 88.53 kB / 1.114 GB, free: 4.262 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.01721/1.238, allocations: 7.19 MB / 1.121 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.077e-05/1.238, allocations: 8 kB / 1.121 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.505e-05/1.238, allocations: 43.44 kB / 1.121 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006022/1.239, allocations: 395.5 kB / 1.121 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/1.239, allocations: 8 kB / 1.121 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.355e-05/1.239, allocations: 16 kB / 1.121 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003848/1.239, allocations: 189.3 kB / 1.121 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004383/1.24, allocations: 273.5 kB / 1.121 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/1.24, allocations: 0 / 1.121 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/1.24, allocations: 0 / 1.121 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/1.24, allocations: 8 kB / 1.121 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/1.241, allocations: 1.088 MB / 1.123 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003932/1.242, allocations: 194.9 kB / 1.123 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/1.242, allocations: 81.83 kB / 1.123 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/1.242, allocations: 4 kB / 1.123 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/1.242, allocations: 34.56 kB / 1.123 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.173e-06/1.242, allocations: 0 / 1.123 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0003731/1.242, allocations: 181.3 kB / 1.123 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/1.242, allocations: 81.33 kB / 1.123 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/1.243, allocations: 243.5 kB / 1.123 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/1.243, allocations: 29.64 kB / 1.123 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.807e-05/1.243, allocations: 160.4 kB / 1.123 GB, free: 9.875 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.503e-05/1.243, allocations: 55.19 kB / 1.124 GB, free: 9.82 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.768e-06/1.243, allocations: 0 / 1.124 GB, free: 9.82 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.243, allocations: 339.7 kB / 1.124 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/1.243, allocations: 60 kB / 1.124 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/1.243, allocations: 102.8 kB / 1.124 GB, free: 9.312 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/1.243, allocations: 63.98 kB / 1.124 GB, free: 9.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.243, allocations: 0 / 1.124 GB, free: 9.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003166/1.244, allocations: 216 kB / 1.124 GB, free: 9.035 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000126/1.244, allocations: 275.1 kB / 1.125 GB, free: 8.746 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/1.244, allocations: 0 / 1.125 GB, free: 8.746 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/1.244, allocations: 0 / 1.125 GB, free: 8.746 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/1.244, allocations: 36.55 kB / 1.125 GB, free: 8.711 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/1.244, allocations: 0 / 1.125 GB, free: 8.711 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/1.244, allocations: 23.92 kB / 1.125 GB, free: 8.688 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/1.244, allocations: 4 kB / 1.125 GB, free: 8.684 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.671e-06/1.244, allocations: 4 kB / 1.125 GB, free: 8.68 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002367/1.244, allocations: 139.8 kB / 1.125 GB, free: 8.543 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/1.244, allocations: 4 kB / 1.125 GB, free: 8.539 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-06/1.244, allocations: 1.125 kB / 1.125 GB, free: 8.539 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/1.245, allocations: 35.92 kB / 1.125 GB, free: 8.504 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-06/1.245, allocations: 64 / 1.125 GB, free: 8.504 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/1.245, allocations: 15.89 kB / 1.125 GB, free: 8.488 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/1.245, allocations: 4 kB / 1.125 GB, free: 8.484 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (actSet.y,actAct.y,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.901e-05/1.245, allocations: 112.8 kB / 1.125 GB, free: 8.367 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/1.245, allocations: 27.7 kB / 1.125 GB, free: 8.34 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.814e-05/1.245, allocations: 30.02 kB / 1.125 GB, free: 8.309 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/1.245, allocations: 0 / 1.125 GB, free: 8.309 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.245, allocations: 4 kB / 1.125 GB, free: 8.305 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/1.245, allocations: 4 kB / 1.125 GB, free: 8.301 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003836/1.245, allocations: 361.8 kB / 1.125 GB, free: 7.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.245, allocations: 0.5625 kB / 1.125 GB, free: 7.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/1.246, allocations: 27.98 kB / 1.125 GB, free: 7.883 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/1.246, allocations: 0 / 1.125 GB, free: 7.883 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/1.246, allocations: 3.906 kB / 1.125 GB, free: 7.879 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/1.246, allocations: 7.938 kB / 1.125 GB, free: 7.871 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.246, allocations: 0 / 1.125 GB, free: 7.871 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004838/1.246, allocations: 384.9 kB / 1.126 GB, free: 7.48 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006965/1.247, allocations: 0.8363 MB / 1.127 GB, free: 6.625 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/1.247, allocations: 120.8 kB / 1.127 GB, free: 6.488 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.494e-05/1.247, allocations: 7.906 kB / 1.127 GB, free: 6.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/1.247, allocations: 20.11 kB / 1.127 GB, free: 6.461 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/1.247, allocations: 7.984 kB / 1.127 GB, free: 6.453 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/1.247, allocations: 8 kB / 1.127 GB, free: 6.445 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001818/1.247, allocations: 183.8 kB / 1.127 GB, free: 6.266 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001596/1.249, allocations: 99.58 kB / 1.127 GB, free: 6.168 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (actSet.y,actAct.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001432/1.249, allocations: 103.2 kB / 1.127 GB, free: 6.059 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004163/1.25, allocations: 247.6 kB / 1.127 GB, free: 5.82 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.25, allocations: 0 / 1.127 GB, free: 5.82 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/1.25, allocations: 76 kB / 1.127 GB, free: 5.746 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004657/1.25, allocations: 66.59 kB / 1.127 GB, free: 5.688 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/1.251, allocations: 397.6 kB / 1.128 GB, free: 5.27 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004276/1.252, allocations: 0.8109 MB / 1.129 GB, free: 4.43 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/1.252, allocations: 0 / 1.129 GB, free: 4.43 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)