Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.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.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.194/1.194, allocations: 249.4 MB / 256.7 MB, free: 15.8 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 182.5 kB / 316 MB, free: 7.188 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.403/1.403, allocations: 205.1 MB / 0.5667 GB, free: 23.61 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.0008608/0.0008608, allocations: 81.89 kB / 0.671 GB, free: 0.8555 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2348/0.2357, allocations: 112.5 MB / 0.7808 GB, free: 272 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.477/0.7128, allocations: 106.3 MB / 0.8847 GB, free: 76.29 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.24/4.953, allocations: 2.203 GB / 3.087 GB, free: 317.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/4.953, allocations: 90.97 kB / 3.088 GB, free: 317.3 MB / 0.8698 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.397/6.35, allocations: 0.5609 GB / 3.648 GB, free: 76.79 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/6.35, allocations: 8 kB / 3.648 GB, free: 76.78 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002941/6.353, allocations: 0.5361 MB / 3.649 GB, free: 76.24 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002785/6.356, allocations: 2.083 MB / 3.651 GB, free: 74.11 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/6.356, allocations: 20 kB / 3.651 GB, free: 74.09 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/6.356, allocations: 76 kB / 3.651 GB, free: 74.02 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001758/6.358, allocations: 1.501 MB / 3.653 GB, free: 72.51 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/6.36, allocations: 1.246 MB / 3.654 GB, free: 71.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/6.36, allocations: 3.938 kB / 3.654 GB, free: 71.19 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.451e-05/6.36, allocations: 4 kB / 3.654 GB, free: 71.19 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/6.36, allocations: 16 kB / 3.654 GB, free: 71.17 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006214/6.366, allocations: 5.615 MB / 3.659 GB, free: 65.39 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/6.368, allocations: 1.457 MB / 3.661 GB, free: 63.92 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000723/6.369, allocations: 0.7072 MB / 3.661 GB, free: 63.21 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003469/6.369, allocations: 450 kB / 3.662 GB, free: 62.68 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/6.369, allocations: 35.06 kB / 3.662 GB, free: 62.64 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=57): time 2.615e-06/6.369, allocations: 4 kB / 3.662 GB, free: 62.63 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57): time 0.005141/6.374, allocations: 2.146 MB / 3.664 GB, free: 60.48 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/6.374, allocations: 59.91 kB / 3.664 GB, free: 60.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002691/6.377, allocations: 2.446 MB / 3.666 GB, free: 57.92 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001688/6.377, allocations: 29.7 kB / 3.666 GB, free: 57.88 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/6.377, allocations: 479.9 kB / 3.667 GB, free: 57.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/6.377, allocations: 189.2 kB / 3.667 GB, free: 57.21 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.179e-05/6.378, allocations: 0 / 3.667 GB, free: 57.21 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.136e-05/6.378, allocations: 381.8 kB / 3.667 GB, free: 56.83 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001529/6.379, allocations: 1.636 MB / 3.669 GB, free: 55.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001721/6.381, allocations: 2.086 MB / 3.671 GB, free: 52.93 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004224/6.385, allocations: 2.271 MB / 3.673 GB, free: 50.67 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/6.385, allocations: 4 kB / 3.673 GB, free: 50.66 MB / 0.8698 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.006916/6.392, allocations: 4.569 MB / 3.678 GB, free: 46.08 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002862/6.392, allocations: 2.057 MB / 3.68 GB, free: 43.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/6.392, allocations: 7.984 kB / 3.68 GB, free: 43.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004249/6.393, allocations: 120.8 kB / 3.68 GB, free: 43.78 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/6.394, allocations: 427.4 kB / 3.68 GB, free: 43.36 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/6.396, allocations: 1.326 MB / 3.682 GB, free: 41.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002674/6.398, allocations: 337.5 kB / 3.682 GB, free: 41.65 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001767/6.399, allocations: 136 kB / 3.682 GB, free: 41.52 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.194e-06/6.399, allocations: 4 kB / 3.682 GB, free: 41.52 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006196/6.405, allocations: 4.327 MB / 3.686 GB, free: 37.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/6.405, allocations: 4 kB / 3.686 GB, free: 37.18 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/6.405, allocations: 12 kB / 3.686 GB, free: 37.17 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/6.406, allocations: 423.5 kB / 3.687 GB, free: 36.75 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/6.406, allocations: 12 kB / 3.687 GB, free: 36.74 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00245/6.409, allocations: 266.4 kB / 3.687 GB, free: 36.48 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001804/6.409, allocations: 136 kB / 3.687 GB, free: 36.35 MB / 0.8698 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.0003209/6.409, allocations: 173.8 kB / 3.687 GB, free: 36.17 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000395/6.41, allocations: 157.8 kB / 3.687 GB, free: 36.01 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005132/6.415, allocations: 2.406 MB / 3.69 GB, free: 33.59 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/6.415, allocations: 4 kB / 3.69 GB, free: 33.59 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/6.415, allocations: 4 kB / 3.69 GB, free: 33.59 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/6.415, allocations: 3.984 kB / 3.69 GB, free: 33.58 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008362/6.423, allocations: 4.198 MB / 3.694 GB, free: 29.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/6.423, allocations: 8.125 kB / 3.694 GB, free: 29.29 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009507/6.424, allocations: 207.7 kB / 3.694 GB, free: 29.09 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003292/6.425, allocations: 124.8 kB / 3.694 GB, free: 28.96 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.753e-05/6.425, allocations: 35.88 kB / 3.694 GB, free: 28.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009917/6.426, allocations: 1.302 MB / 3.695 GB, free: 27.58 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/6.426, allocations: 4 kB / 3.695 GB, free: 27.57 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00487/6.431, allocations: 2.489 MB / 3.698 GB, free: 24.95 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005102/6.436, allocations: 2.978 MB / 3.701 GB, free: 21.84 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/6.437, allocations: 0.5843 MB / 3.701 GB, free: 21.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007075/6.438, allocations: 3.984 kB / 3.701 GB, free: 21.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001902/6.44, allocations: 115.9 kB / 3.701 GB, free: 21.12 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/6.44, allocations: 48.34 kB / 3.702 GB, free: 21.07 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/6.44, allocations: 87.95 kB / 3.702 GB, free: 20.98 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002745/6.443, allocations: 1.821 MB / 3.703 GB, free: 19.14 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005508/6.448, allocations: 1.35 MB / 3.705 GB, free: 17.79 MB / 0.8698 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.002438/6.451, allocations: 1.801 MB / 3.706 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00539/6.456, allocations: 5.101 MB / 3.711 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/6.456, allocations: 0 / 3.711 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008929/6.457, allocations: 0.6505 MB / 3.712 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002158/6.459, allocations: 354.3 kB / 3.712 GB, free: 9.836 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004032/6.463, allocations: 2.383 MB / 3.715 GB, free: 7.387 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001188/6.464, allocations: 1.544 MB / 3.716 GB, free: 5.816 MB / 0.8698 GB Notification: Performance of SimCode: time 6.71e-07/6.464, allocations: 0 / 3.716 GB, free: 5.816 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_Damper.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)