Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.25/1.25, allocations: 249.4 MB / 256.7 MB, free: 6.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009519/0.0009522, allocations: 185.2 kB / 316 MB, free: 3.492 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.239/1.239, allocations: 205.1 MB / 0.5667 GB, free: 15.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008757/0.0008756, allocations: 94.19 kB / 0.671 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3735/0.3744, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.55, allocations: 106.3 MB / 0.8846 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5122/1.062, allocations: 138 MB / 1.019 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/1.063, allocations: 84.5 kB / 1.019 GB, free: 0.5273 MB / 0.6355 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.01587/1.078, allocations: 7.193 MB / 1.026 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/1.078, allocations: 15.98 kB / 1.027 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.435e-05/1.079, allocations: 39.53 kB / 1.027 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004626/1.079, allocations: 396 kB / 1.027 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/1.079, allocations: 12 kB / 1.027 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/1.079, allocations: 19.98 kB / 1.027 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003255/1.079, allocations: 191.3 kB / 1.027 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003864/1.08, allocations: 267.1 kB / 1.027 GB, free: 9.945 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/1.08, allocations: 4 kB / 1.027 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/1.08, allocations: 4 kB / 1.027 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/1.08, allocations: 4 kB / 1.027 GB, free: 9.934 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/1.081, allocations: 1.084 MB / 1.028 GB, free: 9.086 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003379/1.081, allocations: 202.8 kB / 1.029 GB, free: 8.953 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/1.082, allocations: 81.67 kB / 1.029 GB, free: 8.906 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/1.082, allocations: 0 / 1.029 GB, free: 8.906 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/1.082, allocations: 30.56 kB / 1.029 GB, free: 8.867 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 1.392e-06/1.082, allocations: 4 kB / 1.029 GB, free: 8.863 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0003202/1.082, allocations: 181.6 kB / 1.029 GB, free: 8.734 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/1.082, allocations: 85.02 kB / 1.029 GB, free: 8.633 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/1.082, allocations: 237 kB / 1.029 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/1.082, allocations: 25.7 kB / 1.029 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.241e-05/1.082, allocations: 160.8 kB / 1.029 GB, free: 8.266 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/1.082, allocations: 56.83 kB / 1.029 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-06/1.082, allocations: 0 / 1.029 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001013/1.083, allocations: 336.3 kB / 1.03 GB, free: 7.891 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.337e-05/1.083, allocations: 60.12 kB / 1.03 GB, free: 7.863 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/1.083, allocations: 97.95 kB / 1.03 GB, free: 7.793 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/1.083, allocations: 72.02 kB / 1.03 GB, free: 7.754 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.083, allocations: 0 / 1.03 GB, free: 7.754 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002838/1.083, allocations: 205 kB / 1.03 GB, free: 7.605 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.088e-05/1.083, allocations: 276.1 kB / 1.03 GB, free: 7.324 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/1.083, allocations: 0 / 1.03 GB, free: 7.324 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/1.083, allocations: 7.938 kB / 1.03 GB, free: 7.316 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/1.083, allocations: 39.91 kB / 1.031 GB, free: 7.277 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/1.083, allocations: 0 / 1.031 GB, free: 7.277 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/1.084, allocations: 23.84 kB / 1.031 GB, free: 7.254 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/1.084, allocations: 4 kB / 1.031 GB, free: 7.25 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.392e-06/1.084, allocations: 4 kB / 1.031 GB, free: 7.246 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002239/1.084, allocations: 144.6 kB / 1.031 GB, free: 7.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-06/1.084, allocations: 0 / 1.031 GB, free: 7.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.617e-06/1.084, allocations: 4 kB / 1.031 GB, free: 7.156 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/1.084, allocations: 31.17 kB / 1.031 GB, free: 7.129 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/1.084, allocations: 4 kB / 1.031 GB, free: 7.125 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/1.084, allocations: 11.97 kB / 1.031 GB, free: 7.113 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/1.084, allocations: 4 kB / 1.031 GB, free: 7.109 MB / 0.6511 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.627e-05/1.084, allocations: 105 kB / 1.031 GB, free: 7 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.298e-05/1.084, allocations: 27.62 kB / 1.031 GB, free: 6.973 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.877e-05/1.084, allocations: 29.89 kB / 1.031 GB, free: 6.953 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/1.084, allocations: 0 / 1.031 GB, free: 6.953 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.084, allocations: 0 / 1.031 GB, free: 6.953 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/1.084, allocations: 11.97 kB / 1.031 GB, free: 6.941 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003625/1.085, allocations: 363.8 kB / 1.031 GB, free: 6.641 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/1.085, allocations: 0 / 1.031 GB, free: 6.641 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/1.085, allocations: 31.92 kB / 1.031 GB, free: 6.609 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/1.085, allocations: 0 / 1.031 GB, free: 6.609 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/1.085, allocations: 7.938 kB / 1.031 GB, free: 6.602 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/1.085, allocations: 0 / 1.031 GB, free: 6.602 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.085, allocations: 0 / 1.031 GB, free: 6.602 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004563/1.086, allocations: 384 kB / 1.032 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006675/1.086, allocations: 0.8399 MB / 1.032 GB, free: 5.613 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/1.086, allocations: 129.5 kB / 1.033 GB, free: 5.488 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/1.086, allocations: 0 / 1.033 GB, free: 5.488 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/1.087, allocations: 16.11 kB / 1.033 GB, free: 5.473 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/1.087, allocations: 7.984 kB / 1.033 GB, free: 5.465 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/1.087, allocations: 4 kB / 1.033 GB, free: 5.461 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001641/1.087, allocations: 189.4 kB / 1.033 GB, free: 5.316 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001475/1.088, allocations: 95.56 kB / 1.033 GB, free: 5.223 MB / 0.6511 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.0001341/1.088, allocations: 103.2 kB / 1.033 GB, free: 5.113 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003826/1.089, allocations: 253.5 kB / 1.033 GB, free: 4.965 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.089, allocations: 0 / 1.033 GB, free: 4.965 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/1.089, allocations: 80 kB / 1.033 GB, free: 4.918 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/1.089, allocations: 59.69 kB / 1.033 GB, free: 4.875 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008993/1.09, allocations: 400.3 kB / 1.034 GB, free: 4.512 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003882/1.091, allocations: 0.8139 MB / 1.035 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/1.091, allocations: 3.938 kB / 1.035 GB, free: 3.668 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)