Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7667/0.7667, allocations: 127.4 MB / 134.6 MB, free: 4.051 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 181.3 kB / 164.4 MB, free: 6.875 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205.1 MB / 399.1 MB, free: 6.066 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008983/0.0008982, allocations: 81.97 kB / 476.3 MB, free: 8.816 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3055/0.3064, allocations: 82.89 MB / 0.5461 GB, free: 42.63 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.4695, allocations: 76.75 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.396/5.866, allocations: 2.157 GB / 2.778 GB, free: 53.35 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003304/5.866, allocations: 97.81 kB / 2.778 GB, free: 53.25 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 2.51/8.376, allocations: 0.5575 GB / 3.336 GB, free: 115.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/8.376, allocations: 14.12 kB / 3.336 GB, free: 115.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003092/8.379, allocations: 443.9 kB / 3.336 GB, free: 115.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/8.381, allocations: 0.6953 MB / 3.337 GB, free: 115.4 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/8.381, allocations: 19.56 kB / 3.337 GB, free: 115.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.605e-05/8.381, allocations: 38.56 kB / 3.337 GB, free: 115.4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008595/8.382, allocations: 494 kB / 3.337 GB, free: 115.4 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009083/8.383, allocations: 0.6667 MB / 3.338 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/8.383, allocations: 3.5 kB / 3.338 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.296e-05/8.383, allocations: 3.938 kB / 3.338 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/8.383, allocations: 15.44 kB / 3.338 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003634/8.386, allocations: 3.717 MB / 3.342 GB, free: 112.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006367/8.387, allocations: 350.8 kB / 3.342 GB, free: 112.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003099/8.387, allocations: 197.8 kB / 3.342 GB, free: 112.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004577/8.388, allocations: 299.6 kB / 3.343 GB, free: 112.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/8.388, allocations: 35.88 kB / 3.343 GB, free: 112.4 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=37): time 3.186e-06/8.388, allocations: 3.906 kB / 3.343 GB, free: 112.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37): time 0.005982/8.394, allocations: 1.264 MB / 3.344 GB, free: 112.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/8.394, allocations: 55.34 kB / 3.344 GB, free: 112.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008761/8.395, allocations: 0.6302 MB / 3.345 GB, free: 112.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.629e-05/8.395, allocations: 29.64 kB / 3.345 GB, free: 112.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/8.395, allocations: 325.3 kB / 3.345 GB, free: 112 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/8.395, allocations: 125.7 kB / 3.345 GB, free: 111.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/8.395, allocations: 0 / 3.345 GB, free: 111.9 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.906e-05/8.395, allocations: 323.6 kB / 3.345 GB, free: 111.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003874/8.396, allocations: 227.9 kB / 3.345 GB, free: 111.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005135/8.396, allocations: 454.3 kB / 3.346 GB, free: 111.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002361/8.399, allocations: 0.5933 MB / 3.347 GB, free: 111.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/8.399, allocations: 6.281 kB / 3.347 GB, free: 111.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00323/8.402, allocations: 1.077 MB / 3.348 GB, free: 111.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004982/8.402, allocations: 1.824 MB / 3.349 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/8.402, allocations: 3.844 kB / 3.349 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005701/8.403, allocations: 191.5 kB / 3.35 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/8.405, allocations: 301 kB / 3.35 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003288/8.408, allocations: 1.575 MB / 3.351 GB, free: 108.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002062/8.41, allocations: 190.9 kB / 3.352 GB, free: 108.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/8.41, allocations: 33.69 kB / 3.352 GB, free: 108.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/8.41, allocations: 9.875 kB / 3.352 GB, free: 108.2 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00308/8.413, allocations: 0.9127 MB / 3.352 GB, free: 108.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/8.414, allocations: 10.31 kB / 3.352 GB, free: 108.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/8.414, allocations: 7.281 kB / 3.352 GB, free: 108.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/8.415, allocations: 234.3 kB / 3.353 GB, free: 108.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/8.415, allocations: 7.844 kB / 3.353 GB, free: 108.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001961/8.417, allocations: 169.6 kB / 3.353 GB, free: 108.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.682e-05/8.417, allocations: 43.58 kB / 3.353 GB, free: 108.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002704/8.417, allocations: 121.1 kB / 3.353 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001859/8.417, allocations: 82.11 kB / 3.353 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003532/8.421, allocations: 1.051 MB / 3.354 GB, free: 108 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/8.421, allocations: 7.031 kB / 3.354 GB, free: 108 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/8.421, allocations: 0 / 3.354 GB, free: 108 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/8.421, allocations: 3.797 kB / 3.354 GB, free: 108 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007979/8.429, allocations: 2.5 MB / 3.357 GB, free: 107.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/8.429, allocations: 3.688 kB / 3.357 GB, free: 107.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001804/8.431, allocations: 275 kB / 3.357 GB, free: 107.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004156/8.431, allocations: 170.8 kB / 3.357 GB, free: 107.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.769e-05/8.431, allocations: 14.62 kB / 3.357 GB, free: 107.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004359/8.436, allocations: 2.298 MB / 3.359 GB, free: 105.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/8.436, allocations: 3.875 kB / 3.359 GB, free: 105.8 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005638/8.441, allocations: 1.602 MB / 3.361 GB, free: 105.5 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005879/8.447, allocations: 2.047 MB / 3.363 GB, free: 104.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006643/8.448, allocations: 239.4 kB / 3.363 GB, free: 104.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/8.448, allocations: 7.062 kB / 3.363 GB, free: 104.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001496/8.45, allocations: 150.2 kB / 3.363 GB, free: 104.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/8.45, allocations: 30.89 kB / 3.363 GB, free: 104.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.924e-05/8.45, allocations: 30.27 kB / 3.363 GB, free: 104.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0008101/8.451, allocations: 495.3 kB / 3.364 GB, free: 104.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00393/8.455, allocations: 0.8496 MB / 3.365 GB, free: 104.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 35 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.00272/8.457, allocations: 1.62 MB / 3.366 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004361/8.462, allocations: 1.138 MB / 3.367 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/8.462, allocations: 0 / 3.367 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002623/8.465, allocations: 0.5285 MB / 3.368 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002221/8.467, allocations: 301.5 kB / 3.368 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003416/8.47, allocations: 1.249 MB / 3.369 GB, free: 103.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008461/8.471, allocations: 1.134 MB / 3.37 GB, free: 103 MB / 0.6511 GB Notification: Performance of SimCode: time 8.02e-07/8.471, allocations: 3.281 kB / 3.37 GB, free: 103 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Dampers_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Dampers_Examples_Damper.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)