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: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.Damper") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.Damper") [: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.6982/0.6982, allocations: 127.4 MB / 134.6 MB, free: 4.066 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.001459/0.001459, allocations: 189.2 kB / 164.4 MB, free: 6.871 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.68/1.68, allocations: 205.1 MB / 399.1 MB, free: 6.121 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.001076/0.001075, allocations: 89.2 kB / 476.3 MB, free: 8.879 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 6.903e-06/6.933e-06, allocations: 0 / 0.546 GB, free: 42.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1898, allocations: 76.75 MB / 0.6209 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.883/5.073, allocations: 2.157 GB / 2.778 GB, free: 53.55 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003353/5.073, allocations: 97.02 kB / 2.778 GB, free: 53.45 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.165/7.239, allocations: 0.5563 GB / 3.335 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001178/7.239, allocations: 25.67 kB / 3.335 GB, free: 116.2 MB / 0.6511 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 0.003538/7.242, allocations: 1.214 MB / 3.336 GB, free: 115.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/7.242, allocations: 6.875 kB / 3.336 GB, free: 115.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00347/7.246, allocations: 447 kB / 3.336 GB, free: 115.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/7.248, allocations: 0.6985 MB / 3.337 GB, free: 115.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.904e-05/7.248, allocations: 23.44 kB / 3.337 GB, free: 115.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/7.248, allocations: 35.38 kB / 3.337 GB, free: 115.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001014/7.249, allocations: 491.1 kB / 3.337 GB, free: 115.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/7.25, allocations: 0.6729 MB / 3.338 GB, free: 115.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/7.25, allocations: 6.938 kB / 3.338 GB, free: 115.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.524e-05/7.25, allocations: 3.969 kB / 3.338 GB, free: 115.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/7.25, allocations: 11.91 kB / 3.338 GB, free: 115.2 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004511/7.255, allocations: 3.705 MB / 3.342 GB, free: 112.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006624/7.255, allocations: 357.7 kB / 3.342 GB, free: 112.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003151/7.256, allocations: 189.7 kB / 3.342 GB, free: 112.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004859/7.256, allocations: 304.5 kB / 3.342 GB, free: 112.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/7.256, allocations: 38.72 kB / 3.343 GB, free: 112.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=37): time 3.526e-06/7.256, allocations: 3.188 kB / 3.343 GB, free: 112.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37): time 0.006232/7.262, allocations: 1.263 MB / 3.344 GB, free: 112.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/7.263, allocations: 58.52 kB / 3.344 GB, free: 112.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/7.264, allocations: 0.6354 MB / 3.344 GB, free: 112.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/7.264, allocations: 29.52 kB / 3.344 GB, free: 112.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/7.264, allocations: 320 kB / 3.345 GB, free: 112.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/7.264, allocations: 121.8 kB / 3.345 GB, free: 112 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/7.264, allocations: 2.688 kB / 3.345 GB, free: 112 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.841e-05/7.264, allocations: 326.2 kB / 3.345 GB, free: 111.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003935/7.265, allocations: 222.7 kB / 3.345 GB, free: 111.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005497/7.265, allocations: 453 kB / 3.346 GB, free: 111.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002408/7.268, allocations: 0.5959 MB / 3.346 GB, free: 111.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/7.268, allocations: 3.594 kB / 3.346 GB, free: 111.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.003396/7.271, allocations: 1.076 MB / 3.347 GB, free: 111.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005063/7.272, allocations: 1.821 MB / 3.349 GB, free: 109.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/7.272, allocations: 3.906 kB / 3.349 GB, free: 109.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005811/7.272, allocations: 201.1 kB / 3.349 GB, free: 109.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001896/7.274, allocations: 294.7 kB / 3.35 GB, free: 109.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003333/7.277, allocations: 1.572 MB / 3.351 GB, free: 108.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/7.279, allocations: 189 kB / 3.351 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/7.28, allocations: 45.02 kB / 3.351 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/7.28, allocations: 3.906 kB / 3.351 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003031/7.283, allocations: 0.9024 MB / 3.352 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/7.283, allocations: 7.625 kB / 3.352 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/7.283, allocations: 10.75 kB / 3.352 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/7.284, allocations: 233.3 kB / 3.353 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/7.284, allocations: 12.12 kB / 3.353 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/7.286, allocations: 172 kB / 3.353 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/7.286, allocations: 42.08 kB / 3.353 GB, free: 108.3 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.0002877/7.287, allocations: 119.3 kB / 3.353 GB, free: 108.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003651/7.287, allocations: 77.22 kB / 3.353 GB, free: 108.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00376/7.291, allocations: 1.056 MB / 3.354 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/7.291, allocations: 3.969 kB / 3.354 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/7.291, allocations: 3.797 kB / 3.354 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/7.291, allocations: 0 / 3.354 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00849/7.299, allocations: 2.505 MB / 3.357 GB, free: 107.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/7.299, allocations: 3.531 kB / 3.357 GB, free: 107.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001787/7.301, allocations: 273.6 kB / 3.357 GB, free: 107.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003988/7.301, allocations: 167.7 kB / 3.357 GB, free: 107.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.751e-05/7.302, allocations: 17.48 kB / 3.357 GB, free: 107.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004471/7.306, allocations: 2.3 MB / 3.359 GB, free: 106 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/7.306, allocations: 4.656 kB / 3.359 GB, free: 106 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005767/7.312, allocations: 1.6 MB / 3.361 GB, free: 105.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007437/7.313, allocations: 237.7 kB / 3.361 GB, free: 105.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003655/7.313, allocations: 7.25 kB / 3.361 GB, free: 105.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001834/7.315, allocations: 148.5 kB / 3.361 GB, free: 105.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/7.315, allocations: 29.78 kB / 3.361 GB, free: 105.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.543e-05/7.315, allocations: 22.73 kB / 3.361 GB, free: 105.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0008864/7.316, allocations: 0.4933 MB / 3.362 GB, free: 105.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002414/7.318, allocations: 0.5294 MB / 3.362 GB, free: 105.3 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.002936/7.321, allocations: 1.617 MB / 3.364 GB, free: 105 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004241/7.326, allocations: 1.133 MB / 3.365 GB, free: 105 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/7.326, allocations: 0 / 3.365 GB, free: 105 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002655/7.328, allocations: 0.5333 MB / 3.365 GB, free: 105 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002183/7.33, allocations: 310.2 kB / 3.366 GB, free: 104.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003714/7.334, allocations: 1.241 MB / 3.367 GB, free: 104.6 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001116/7.335, allocations: 1.134 MB / 3.368 GB, free: 103.9 MB / 0.6511 GB Notification: Performance of SimCode: time 1.713e-06/7.335, allocations: 2.812 kB / 3.368 GB, free: 103.9 MB / 0.6511 GB Notification: Performance of Templates: time 0.0529/7.388, allocations: 29.08 MB / 3.396 GB, free: 103.3 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.Damper.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)