Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.822/2.822, allocations: 284.8 MB / 292.1 MB, free: 1.102 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001644/0.001643, allocations: 186.5 kB / 360.3 MB, free: 15.5 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.808/1.808, allocations: 205.1 MB / 0.6187 GB, free: 6.285 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001296/0.001295, allocations: 93.94 kB / 0.7317 GB, free: 47.1 MB / 0.5183 GB Notification: Performance of FrontEnd - loaded program: time 0.2681/0.2694, allocations: 121.4 MB / 0.8502 GB, free: 13.26 MB / 0.5964 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6268/0.8962, allocations: 115.2 MB / 0.9627 GB, free: 86.09 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2244/1.121, allocations: 143.1 MB / 1.102 GB, free: 7.008 MB / 0.7058 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/1.121, allocations: 76.47 kB / 1.103 GB, free: 6.934 MB / 0.7058 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.02727/1.148, allocations: 7.201 MB / 1.11 GB, free: 15.76 MB / 0.7214 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/1.148, allocations: 12 kB / 1.11 GB, free: 15.75 MB / 0.7214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/1.149, allocations: 44.38 kB / 1.11 GB, free: 15.71 MB / 0.7214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008001/1.149, allocations: 387.5 kB / 1.11 GB, free: 15.29 MB / 0.7214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.407e-05/1.149, allocations: 12 kB / 1.11 GB, free: 15.28 MB / 0.7214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.494e-05/1.149, allocations: 16 kB / 1.11 GB, free: 15.27 MB / 0.7214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006376/1.15, allocations: 189.3 kB / 1.11 GB, free: 15.08 MB / 0.7214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007362/1.151, allocations: 265.6 kB / 1.11 GB, free: 14.8 MB / 0.7214 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/1.151, allocations: 448 / 1.11 GB, free: 14.8 MB / 0.7214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.875e-05/1.151, allocations: 0 / 1.11 GB, free: 14.8 MB / 0.7214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/1.151, allocations: 8 kB / 1.11 GB, free: 14.79 MB / 0.7214 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/1.153, allocations: 1.088 MB / 1.112 GB, free: 13.66 MB / 0.7214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000622/1.154, allocations: 203.6 kB / 1.112 GB, free: 13.45 MB / 0.7214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/1.154, allocations: 79.53 kB / 1.112 GB, free: 13.38 MB / 0.7214 GB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/1.154, allocations: 4 kB / 1.112 GB, free: 13.37 MB / 0.7214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/1.154, allocations: 34.56 kB / 1.112 GB, free: 13.33 MB / 0.7214 GB Notification: Performance of pre-optimization done (n=16): time 2.535e-06/1.154, allocations: 0 / 1.112 GB, free: 13.33 MB / 0.7214 GB Notification: Performance of matching and sorting (n=16): time 0.000603/1.155, allocations: 181.3 kB / 1.112 GB, free: 13.14 MB / 0.7214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/1.155, allocations: 85.05 kB / 1.112 GB, free: 13.04 MB / 0.7214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004232/1.155, allocations: 239.5 kB / 1.112 GB, free: 12.8 MB / 0.7214 GB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/1.155, allocations: 25.7 kB / 1.112 GB, free: 12.77 MB / 0.7214 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/1.156, allocations: 165.2 kB / 1.112 GB, free: 12.61 MB / 0.7214 GB Notification: Performance of collectInitialBindings (initialization): time 7.014e-05/1.156, allocations: 51.2 kB / 1.113 GB, free: 12.55 MB / 0.7214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.569e-05/1.156, allocations: 0 / 1.113 GB, free: 12.55 MB / 0.7214 GB Notification: Performance of setup shared object (initialization): time 0.0001712/1.156, allocations: 342.8 kB / 1.113 GB, free: 12.21 MB / 0.7214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/1.156, allocations: 60 kB / 1.113 GB, free: 12.15 MB / 0.7214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/1.156, allocations: 96.16 kB / 1.113 GB, free: 12.05 MB / 0.7214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/1.157, allocations: 69.7 kB / 1.113 GB, free: 11.98 MB / 0.7214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/1.157, allocations: 0 / 1.113 GB, free: 11.98 MB / 0.7214 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005706/1.157, allocations: 209.1 kB / 1.113 GB, free: 11.77 MB / 0.7214 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001333/1.157, allocations: 269 kB / 1.114 GB, free: 11.49 MB / 0.7214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/1.157, allocations: 1.938 kB / 1.114 GB, free: 11.49 MB / 0.7214 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/1.157, allocations: 7.984 kB / 1.114 GB, free: 11.48 MB / 0.7214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003767/1.158, allocations: 47.81 kB / 1.114 GB, free: 11.43 MB / 0.7214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/1.158, allocations: 0 / 1.114 GB, free: 11.43 MB / 0.7214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/1.158, allocations: 19.94 kB / 1.114 GB, free: 11.41 MB / 0.7214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/1.158, allocations: 4 kB / 1.114 GB, free: 11.41 MB / 0.7214 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/1.158, allocations: 4.562 kB / 1.114 GB, free: 11.41 MB / 0.7214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004276/1.159, allocations: 144.6 kB / 1.114 GB, free: 11.27 MB / 0.7214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-06/1.159, allocations: 0 / 1.114 GB, free: 11.27 MB / 0.7214 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.284e-06/1.159, allocations: 4 kB / 1.114 GB, free: 11.26 MB / 0.7214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/1.159, allocations: 28.05 kB / 1.114 GB, free: 11.23 MB / 0.7214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/1.159, allocations: 0 / 1.114 GB, free: 11.23 MB / 0.7214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/1.159, allocations: 17.62 kB / 1.114 GB, free: 11.22 MB / 0.7214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/1.159, allocations: 11.2 kB / 1.114 GB, free: 11.21 MB / 0.7214 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 0.0001371/1.159, allocations: 115.9 kB / 1.114 GB, free: 11.09 MB / 0.7214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.641e-05/1.159, allocations: 27.7 kB / 1.114 GB, free: 11.07 MB / 0.7214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/1.159, allocations: 26.02 kB / 1.114 GB, free: 11.04 MB / 0.7214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/1.159, allocations: 4 kB / 1.114 GB, free: 11.04 MB / 0.7214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.16, allocations: 4 kB / 1.114 GB, free: 11.03 MB / 0.7214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/1.16, allocations: 1.25 kB / 1.114 GB, free: 11.03 MB / 0.7214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006326/1.16, allocations: 361.8 kB / 1.114 GB, free: 10.64 MB / 0.7214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/1.16, allocations: 0 / 1.114 GB, free: 10.64 MB / 0.7214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003407/1.161, allocations: 27.92 kB / 1.114 GB, free: 10.61 MB / 0.7214 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/1.161, allocations: 4 kB / 1.114 GB, free: 10.61 MB / 0.7214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/1.161, allocations: 3.906 kB / 1.114 GB, free: 10.61 MB / 0.7214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/1.161, allocations: 0 / 1.114 GB, free: 10.61 MB / 0.7214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/1.161, allocations: 4 kB / 1.114 GB, free: 10.6 MB / 0.7214 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000809/1.161, allocations: 376.7 kB / 1.115 GB, free: 10.22 MB / 0.7214 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001182/1.163, allocations: 0.8477 MB / 1.116 GB, free: 9.355 MB / 0.7214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/1.163, allocations: 120.8 kB / 1.116 GB, free: 9.219 MB / 0.7214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.213e-05/1.163, allocations: 3.906 kB / 1.116 GB, free: 9.215 MB / 0.7214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002916/1.163, allocations: 17.23 kB / 1.116 GB, free: 9.199 MB / 0.7214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.984e-05/1.163, allocations: 11.98 kB / 1.116 GB, free: 9.188 MB / 0.7214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/1.163, allocations: 4 kB / 1.116 GB, free: 9.184 MB / 0.7214 GB Notification: Performance of sort global known variables: time 0.0003175/1.164, allocations: 191.1 kB / 1.116 GB, free: 9 MB / 0.7214 GB Notification: Performance of remove unused functions: time 0.002317/1.166, allocations: 95.58 kB / 1.116 GB, free: 8.906 MB / 0.7214 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.0002073/1.166, allocations: 99.25 kB / 1.116 GB, free: 8.801 MB / 0.7214 GB Notification: Performance of simCode: created initialization part: time 0.0008469/1.167, allocations: 249.8 kB / 1.116 GB, free: 8.559 MB / 0.7214 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.167, allocations: 4 kB / 1.116 GB, free: 8.555 MB / 0.7214 GB Notification: Performance of simCode: created simulation system equations: time 0.0002136/1.167, allocations: 75.94 kB / 1.116 GB, free: 8.48 MB / 0.7214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007464/1.168, allocations: 63.98 kB / 1.116 GB, free: 8.422 MB / 0.7214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/1.17, allocations: 398.1 kB / 1.117 GB, free: 7.996 MB / 0.7214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006463/1.17, allocations: 0.8093 MB / 1.118 GB, free: 7.16 MB / 0.7214 GB Notification: Performance of SimCode: time 1.062e-06/1.17, allocations: 0 / 1.118 GB, free: 7.16 MB / 0.7214 GB (rm -f Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)