Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper.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.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.746/1.746, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.001552/0.001552, allocations: 185.2 kB / 366.3 MB, free: 2.023 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.646/1.646, allocations: 205.1 MB / 0.6256 GB, free: 7.477 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.001016/0.001015, allocations: 91.88 kB / 0.7396 GB, free: 39.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2966/0.2977, allocations: 122.4 MB / 0.8591 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7974/1.095, allocations: 116.3 MB / 0.9726 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.671/5.767, allocations: 2.086 GB / 3.058 GB, free: 41.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/5.767, allocations: 88.98 kB / 3.059 GB, free: 41.81 MB / 0.948 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 2.439/8.206, allocations: 0.5786 GB / 3.637 GB, free: 191.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/8.206, allocations: 15.5 kB / 3.637 GB, free: 191.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004121/8.21, allocations: 0.534 MB / 3.638 GB, free: 191.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004666/8.215, allocations: 2.074 MB / 3.64 GB, free: 189.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.909e-05/8.215, allocations: 27.94 kB / 3.64 GB, free: 189.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002842/8.215, allocations: 75.31 kB / 3.64 GB, free: 189 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002301/8.217, allocations: 1.498 MB / 3.641 GB, free: 187.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/8.219, allocations: 1.251 MB / 3.642 GB, free: 186.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/8.219, allocations: 0 / 3.642 GB, free: 186.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.128e-05/8.219, allocations: 4 kB / 3.642 GB, free: 186.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/8.219, allocations: 16 kB / 3.643 GB, free: 186.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008954/8.228, allocations: 5.614 MB / 3.648 GB, free: 180.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002125/8.23, allocations: 1.457 MB / 3.649 GB, free: 179 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008017/8.231, allocations: 0.6972 MB / 3.65 GB, free: 178.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005381/8.232, allocations: 460 kB / 3.651 GB, free: 177.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/8.232, allocations: 43 kB / 3.651 GB, free: 177.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 3.677e-06/8.232, allocations: 0 / 3.651 GB, free: 177.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.006431/8.238, allocations: 2.15 MB / 3.653 GB, free: 175.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/8.238, allocations: 59.84 kB / 3.653 GB, free: 175.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00399/8.242, allocations: 2.455 MB / 3.655 GB, free: 173 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004139/8.243, allocations: 25.7 kB / 3.655 GB, free: 173 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003985/8.243, allocations: 476.2 kB / 3.656 GB, free: 172.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002198/8.243, allocations: 185.2 kB / 3.656 GB, free: 172.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.279e-05/8.243, allocations: 4 kB / 3.656 GB, free: 172.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001147/8.243, allocations: 381.8 kB / 3.656 GB, free: 171.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001756/8.245, allocations: 1.636 MB / 3.658 GB, free: 170.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002166/8.247, allocations: 2.086 MB / 3.66 GB, free: 168 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004919/8.252, allocations: 2.27 MB / 3.662 GB, free: 165.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.264e-05/8.252, allocations: 8 kB / 3.662 GB, free: 165.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.008452/8.261, allocations: 4.568 MB / 3.666 GB, free: 161.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005344/8.261, allocations: 2.059 MB / 3.668 GB, free: 159 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/8.261, allocations: 4 kB / 3.668 GB, free: 159 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004853/8.262, allocations: 112.8 kB / 3.669 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001765/8.264, allocations: 423 kB / 3.669 GB, free: 158.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/8.265, allocations: 1.337 MB / 3.67 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003784/8.269, allocations: 325.5 kB / 3.671 GB, free: 156.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003963/8.269, allocations: 140 kB / 3.671 GB, free: 156.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/8.269, allocations: 4 kB / 3.671 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007272/8.277, allocations: 4.322 MB / 3.675 GB, free: 152.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/8.277, allocations: 8 kB / 3.675 GB, free: 152.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/8.277, allocations: 12 kB / 3.675 GB, free: 152.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001711/8.278, allocations: 424.7 kB / 3.675 GB, free: 151.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/8.278, allocations: 15.98 kB / 3.675 GB, free: 151.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003107/8.282, allocations: 270.3 kB / 3.676 GB, free: 151.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002478/8.282, allocations: 132 kB / 3.676 GB, free: 151.4 MB / 0.948 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.0004123/8.282, allocations: 162.5 kB / 3.676 GB, free: 151.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006913/8.283, allocations: 158.4 kB / 3.676 GB, free: 151.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005709/8.289, allocations: 2.408 MB / 3.678 GB, free: 148.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/8.289, allocations: 8 kB / 3.678 GB, free: 148.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/8.289, allocations: 0 / 3.678 GB, free: 148.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/8.289, allocations: 7.984 kB / 3.678 GB, free: 148.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009243/8.298, allocations: 4.208 MB / 3.683 GB, free: 144.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/8.298, allocations: 7.984 kB / 3.683 GB, free: 144.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/8.299, allocations: 200.5 kB / 3.683 GB, free: 144.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003915/8.3, allocations: 127.2 kB / 3.683 GB, free: 144.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.164e-05/8.3, allocations: 35.97 kB / 3.683 GB, free: 144 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/8.301, allocations: 1.306 MB / 3.684 GB, free: 142.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/8.301, allocations: 0 / 3.684 GB, free: 142.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00614/8.307, allocations: 2.489 MB / 3.687 GB, free: 140.1 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006214/8.313, allocations: 2.982 MB / 3.69 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001599/8.315, allocations: 0.5804 MB / 3.69 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004086/8.315, allocations: 4 kB / 3.69 GB, free: 136.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001733/8.317, allocations: 115.9 kB / 3.69 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/8.317, allocations: 48.33 kB / 3.69 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001388/8.317, allocations: 83.97 kB / 3.69 GB, free: 136.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.002529/8.32, allocations: 1.821 MB / 3.692 GB, free: 134.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005567/8.325, allocations: 1.361 MB / 3.693 GB, free: 132.9 MB / 0.948 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.003306/8.329, allocations: 1.794 MB / 3.695 GB, free: 131.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006239/8.335, allocations: 5.097 MB / 3.7 GB, free: 126.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.545e-06/8.335, allocations: 0 / 3.7 GB, free: 126.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009845/8.336, allocations: 0.6508 MB / 3.701 GB, free: 125.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002929/8.339, allocations: 349.2 kB / 3.701 GB, free: 125.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005433/8.345, allocations: 2.383 MB / 3.703 GB, free: 122.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001473/8.346, allocations: 1.548 MB / 3.705 GB, free: 121.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.923e-06/8.346, allocations: 0 / 3.705 GB, free: 121.1 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_Damper.fmu > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)