Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_Damper",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 9.1.1-maint.9.1.x/package.mo): time 2.127/2.127, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.001513/0.001513, allocations: 185.2 kB / 487 MB, free: 5.344 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.523/1.523, allocations: 221.3 MB / 0.7819 GB, free: 1.332 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009713/0.0009713, allocations: 101.2 kB / 0.9213 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6824/0.6834, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.986, allocations: 142.3 MB / 1.205 GB, free: 26.13 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.903/5.889, allocations: 1.917 GB / 3.122 GB, free: 406.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/5.89, allocations: 83.95 kB / 3.122 GB, free: 406.4 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 1.862/7.752, allocations: 0.59 GB / 3.712 GB, free: 243.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/7.752, allocations: 9 kB / 3.712 GB, free: 243.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004275/7.756, allocations: 433 kB / 3.713 GB, free: 243 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005331/7.761, allocations: 2.256 MB / 3.715 GB, free: 240.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.805e-05/7.762, allocations: 28 kB / 3.715 GB, free: 240.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004536/7.762, allocations: 72 kB / 3.715 GB, free: 240.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00206/7.764, allocations: 1.49 MB / 3.717 GB, free: 239.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/7.766, allocations: 1.243 MB / 3.718 GB, free: 237.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/7.766, allocations: 3.938 kB / 3.718 GB, free: 237.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.111e-05/7.766, allocations: 8 kB / 3.718 GB, free: 237.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/7.766, allocations: 16 kB / 3.718 GB, free: 237.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009104/7.775, allocations: 6.256 MB / 3.724 GB, free: 231.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/7.777, allocations: 1.46 MB / 3.725 GB, free: 230 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000825/7.778, allocations: 0.7033 MB / 3.726 GB, free: 229.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004838/7.779, allocations: 455.9 kB / 3.726 GB, free: 228.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/7.779, allocations: 39.06 kB / 3.727 GB, free: 228.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=57): time 4.198e-06/7.779, allocations: 0 / 3.727 GB, free: 228.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=57): time 0.006188/7.785, allocations: 2.142 MB / 3.729 GB, free: 226.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/7.785, allocations: 59.91 kB / 3.729 GB, free: 226.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003222/7.788, allocations: 2.463 MB / 3.731 GB, free: 223.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0006814/7.789, allocations: 29.7 kB / 3.731 GB, free: 223.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004304/7.789, allocations: 472 kB / 3.732 GB, free: 223.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/7.789, allocations: 185.2 kB / 3.732 GB, free: 223.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002404/7.79, allocations: 0 / 3.732 GB, free: 223.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001274/7.79, allocations: 381.8 kB / 3.732 GB, free: 222.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002626/7.792, allocations: 2.175 MB / 3.734 GB, free: 220.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002899/7.795, allocations: 2.628 MB / 3.737 GB, free: 217.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004909/7.8, allocations: 2.241 MB / 3.739 GB, free: 215.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.527e-06/7.8, allocations: 4 kB / 3.739 GB, free: 215.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.009724/7.81, allocations: 4.95 MB / 3.744 GB, free: 210.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005065/7.81, allocations: 2.049 MB / 3.746 GB, free: 208.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/7.811, allocations: 8 kB / 3.746 GB, free: 208.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005294/7.811, allocations: 116.8 kB / 3.746 GB, free: 208.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002544/7.814, allocations: 395.5 kB / 3.746 GB, free: 208 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/7.815, allocations: 1.333 MB / 3.748 GB, free: 206.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003534/7.819, allocations: 309.6 kB / 3.748 GB, free: 206.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004821/7.819, allocations: 140 kB / 3.748 GB, free: 206.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/7.819, allocations: 7.938 kB / 3.748 GB, free: 206.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008682/7.828, allocations: 4.711 MB / 3.753 GB, free: 201.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/7.828, allocations: 8 kB / 3.753 GB, free: 201.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/7.828, allocations: 12.62 kB / 3.753 GB, free: 201.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002432/7.83, allocations: 407.5 kB / 3.753 GB, free: 201 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.238e-05/7.831, allocations: 15.94 kB / 3.753 GB, free: 201 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003438/7.834, allocations: 242.5 kB / 3.753 GB, free: 200.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004612/7.834, allocations: 140 kB / 3.753 GB, free: 200.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 39 (preIndDpFixed_nominal.idx_sorted[1],preIndDpFixed_nominal.idx_sorted[2],preIndDpFixed_nominal.idx_sorted[3],preIndDpFixed_nominal.idx_sorted[4],preIndDpFixed_nominal.idx_sorted[5],preIndDpFixed_nominal.idx_sorted[6],preIndDpFixed_nominal.idx_sorted[7],preIndDpFixed_nominal.idx_sorted[8],preIndDpFixed_nominal.idx_sorted[9],preIndDpFixed_nominal.idx_sorted[10],preIndDpFixed_nominal.idx_sorted[11],preIndDpFixed_nominal.idx_sorted[12],preIndDpFixed_nominal.idx_sorted[13],preIndFrom_dp.idx_sorted[1],preIndFrom_dp.idx_sorted[2],preIndFrom_dp.idx_sorted[3],preIndFrom_dp.idx_sorted[4],preIndFrom_dp.idx_sorted[5],preIndFrom_dp.idx_sorted[6],preIndFrom_dp.idx_sorted[7],preIndFrom_dp.idx_sorted[8],preIndFrom_dp.idx_sorted[9],preIndFrom_dp.idx_sorted[10],preIndFrom_dp.idx_sorted[11],preIndFrom_dp.idx_sorted[12],preIndFrom_dp.idx_sorted[13],preInd.idx_sorted[1],preInd.idx_sorted[2],preInd.idx_sorted[3],preInd.idx_sorted[4],preInd.idx_sorted[5],preInd.idx_sorted[6],preInd.idx_sorted[7],preInd.idx_sorted[8],preInd.idx_sorted[9],preInd.idx_sorted[10],preInd.idx_sorted[11],preInd.idx_sorted[12],preInd.idx_sorted[13]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 190 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006602/7.835, allocations: 169.7 kB / 3.754 GB, free: 200.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/7.836, allocations: 157.8 kB / 3.754 GB, free: 200.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0062/7.842, allocations: 2.403 MB / 3.756 GB, free: 197.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/7.842, allocations: 4 kB / 3.756 GB, free: 197.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/7.842, allocations: 0 / 3.756 GB, free: 197.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/7.842, allocations: 3.984 kB / 3.756 GB, free: 197.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009789/7.852, allocations: 4.173 MB / 3.76 GB, free: 193.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/7.852, allocations: 7.984 kB / 3.76 GB, free: 193.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000974/7.853, allocations: 184 kB / 3.76 GB, free: 193.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003686/7.854, allocations: 120.8 kB / 3.76 GB, free: 193.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/7.854, allocations: 31.97 kB / 3.761 GB, free: 193.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001244/7.855, allocations: 1.306 MB / 3.762 GB, free: 192 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/7.855, allocations: 4 kB / 3.762 GB, free: 192 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006938/7.862, allocations: 2.49 MB / 3.764 GB, free: 189.3 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00668/7.869, allocations: 2.978 MB / 3.767 GB, free: 186.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/7.87, allocations: 0.5843 MB / 3.768 GB, free: 185.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008016/7.871, allocations: 4 kB / 3.768 GB, free: 185.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002073/7.873, allocations: 95.88 kB / 3.768 GB, free: 185.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/7.873, allocations: 44.34 kB / 3.768 GB, free: 185.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/7.873, allocations: 87.95 kB / 3.768 GB, free: 185.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.003017/7.876, allocations: 1.829 MB / 3.77 GB, free: 183.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.007808/7.884, allocations: 1.526 MB / 3.771 GB, free: 182 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003413/7.888, allocations: 1.803 MB / 3.773 GB, free: 180.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01045/7.898, allocations: 5.947 MB / 3.779 GB, free: 174.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/7.898, allocations: 0 / 3.779 GB, free: 174.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/7.899, allocations: 0.6504 MB / 3.779 GB, free: 173.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003143/7.902, allocations: 334.6 kB / 3.78 GB, free: 173.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008021/7.91, allocations: 2.393 MB / 3.782 GB, free: 171 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002975/7.914, allocations: 1.548 MB / 3.784 GB, free: 169.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.192e-06/7.914, allocations: 0 / 3.784 GB, free: 169.4 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_Damper.fmu > Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)