Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.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.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.854/1.854, allocations: 390.4 MB / 397.7 MB, free: 11.21 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.001048/0.001048, allocations: 182.9 kB / 490.8 MB, free: 1.879 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.186/1.186, allocations: 221.4 MB / 0.7863 GB, free: 13.59 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.0008915/0.0008915, allocations: 106.7 kB / 0.9264 GB, free: 14.11 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.45/0.451, allocations: 149.1 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.654, allocations: 143 MB / 1.212 GB, free: 39.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5475/1.202, allocations: 155.1 MB / 1.363 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/1.202, allocations: 85.78 kB / 1.363 GB, free: 17.21 MB / 0.823 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.01604/1.218, allocations: 7.125 MB / 1.37 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/1.218, allocations: 9.734 kB / 1.37 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/1.218, allocations: 43.25 kB / 1.37 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004963/1.219, allocations: 382.3 kB / 1.371 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/1.219, allocations: 13.41 kB / 1.371 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.567e-05/1.219, allocations: 15.67 kB / 1.371 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003816/1.219, allocations: 193.5 kB / 1.371 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004204/1.219, allocations: 260.5 kB / 1.371 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/1.219, allocations: 1.906 kB / 1.371 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/1.22, allocations: 0 / 1.371 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/1.22, allocations: 6.469 kB / 1.371 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/1.221, allocations: 1.094 MB / 1.372 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003611/1.221, allocations: 186.5 kB / 1.372 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/1.221, allocations: 78.61 kB / 1.372 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/1.221, allocations: 4.734 kB / 1.372 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/1.221, allocations: 39.91 kB / 1.372 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.954e-06/1.221, allocations: 0 / 1.372 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.000361/1.222, allocations: 178.4 kB / 1.373 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/1.222, allocations: 83.98 kB / 1.373 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/1.222, allocations: 237.1 kB / 1.373 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/1.222, allocations: 25.7 kB / 1.373 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.736e-05/1.222, allocations: 168.2 kB / 1.373 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/1.222, allocations: 46.55 kB / 1.373 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-06/1.222, allocations: 4 kB / 1.373 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001262/1.222, allocations: 339.9 kB / 1.373 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/1.223, allocations: 66.42 kB / 1.373 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/1.223, allocations: 95.16 kB / 1.374 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/1.223, allocations: 65.66 kB / 1.374 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.223, allocations: 4.031 kB / 1.374 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003346/1.223, allocations: 206 kB / 1.374 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/1.223, allocations: 271.8 kB / 1.374 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/1.223, allocations: 1.156 kB / 1.374 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/1.223, allocations: 6.312 kB / 1.374 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/1.224, allocations: 39.58 kB / 1.374 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/1.224, allocations: 1.625 kB / 1.374 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/1.224, allocations: 21.56 kB / 1.374 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/1.224, allocations: 12.28 kB / 1.374 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.863e-06/1.224, allocations: 8.156 kB / 1.374 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002326/1.224, allocations: 137.2 kB / 1.374 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/1.224, allocations: 7.906 kB / 1.374 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.577e-06/1.224, allocations: 2.891 kB / 1.374 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/1.224, allocations: 28.22 kB / 1.374 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/1.224, allocations: 1.953 kB / 1.374 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/1.224, allocations: 6.375 kB / 1.374 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/1.224, allocations: 8.25 kB / 1.374 GB, free: 30.32 MB / 0.8386 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 9.019e-05/1.224, allocations: 116.2 kB / 1.374 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.35e-05/1.224, allocations: 24.75 kB / 1.375 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.223e-05/1.225, allocations: 30.61 kB / 1.375 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/1.225, allocations: 7.125 kB / 1.375 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.225, allocations: 0 / 1.375 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/1.225, allocations: 0.5625 kB / 1.375 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003542/1.225, allocations: 355.1 kB / 1.375 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/1.225, allocations: 1.359 kB / 1.375 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/1.225, allocations: 38.03 kB / 1.375 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/1.225, allocations: 1 kB / 1.375 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/1.225, allocations: 1.062 kB / 1.375 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/1.225, allocations: 1.469 kB / 1.375 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/1.225, allocations: 0 / 1.375 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004482/1.226, allocations: 379.8 kB / 1.375 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006713/1.226, allocations: 0.8414 MB / 1.376 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.336e-05/1.226, allocations: 123.3 kB / 1.376 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/1.226, allocations: 4.969 kB / 1.376 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/1.227, allocations: 11.64 kB / 1.376 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/1.227, allocations: 15.64 kB / 1.376 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/1.227, allocations: 3.594 kB / 1.376 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001857/1.227, allocations: 184.6 kB / 1.376 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00151/1.228, allocations: 100.8 kB / 1.377 GB, free: 29.11 MB / 0.8386 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.0001276/1.229, allocations: 100.8 kB / 1.377 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00039/1.229, allocations: 246.6 kB / 1.377 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.229, allocations: 1.281 kB / 1.377 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/1.229, allocations: 82.08 kB / 1.377 GB, free: 29 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004351/1.229, allocations: 67.38 kB / 1.377 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000961/1.23, allocations: 396.5 kB / 1.377 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005312/1.231, allocations: 0.8121 MB / 1.378 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.231, allocations: 4 kB / 1.378 GB, free: 28.11 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)