Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",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/Complex 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 185.3 kB / 7.803 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4806/0.4806, allocations: 90.85 MB / 99.08 MB, free: 14.96 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 221.4 MB / 342.8 MB, free: 5.434 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009328/0.0009329, allocations: 93.92 kB / 415.5 MB, free: 9.883 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1712/0.1722, allocations: 78.46 MB / 494 MB, free: 11.5 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.5205, allocations: 72.3 MB / 0.553 GB, free: 44.78 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.753/4.274, allocations: 1.865 GB / 2.418 GB, free: 197 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000329/4.274, allocations: 88.47 kB / 2.419 GB, free: 196.9 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 1.705/5.979, allocations: 463.1 MB / 2.871 GB, free: 133.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/5.98, allocations: 10.59 kB / 2.871 GB, free: 133.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00152/5.981, allocations: 174.3 kB / 2.871 GB, free: 133.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002168/5.983, allocations: 0.7142 MB / 2.872 GB, free: 133.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/5.983, allocations: 11.16 kB / 2.872 GB, free: 133.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/5.984, allocations: 27.31 kB / 2.872 GB, free: 133.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005846/5.984, allocations: 275.8 kB / 2.872 GB, free: 133.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006404/5.985, allocations: 369.2 kB / 2.872 GB, free: 133.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/5.985, allocations: 6.594 kB / 2.872 GB, free: 133.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.868e-05/5.985, allocations: 0 / 2.872 GB, free: 133.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-05/5.985, allocations: 17.28 kB / 2.872 GB, free: 133.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003181/5.988, allocations: 1.894 MB / 2.874 GB, free: 132.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000462/5.989, allocations: 321 kB / 2.874 GB, free: 132.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/5.989, allocations: 148.8 kB / 2.875 GB, free: 132.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002978/5.989, allocations: 198.4 kB / 2.875 GB, free: 132.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/5.989, allocations: 37.73 kB / 2.875 GB, free: 132.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=28): time 1.753e-06/5.989, allocations: 0 / 2.875 GB, free: 132.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28): time 0.00127/5.99, allocations: 401.6 kB / 2.875 GB, free: 132 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/5.99, allocations: 55.22 kB / 2.875 GB, free: 132 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009442/5.991, allocations: 0.6419 MB / 2.876 GB, free: 131.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.052e-05/5.991, allocations: 25.7 kB / 2.876 GB, free: 131.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/5.992, allocations: 238.8 kB / 2.876 GB, free: 131.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/5.992, allocations: 100.7 kB / 2.876 GB, free: 131.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.756e-05/5.992, allocations: 0 / 2.876 GB, free: 131.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.446e-05/5.992, allocations: 315.7 kB / 2.877 GB, free: 131.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/5.992, allocations: 106.8 kB / 2.877 GB, free: 131.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/5.992, allocations: 270.2 kB / 2.877 GB, free: 131.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/5.993, allocations: 143.4 kB / 2.877 GB, free: 131.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/5.993, allocations: 0 / 2.877 GB, free: 131.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008847/5.993, allocations: 404.4 kB / 2.877 GB, free: 131.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.354e-05/5.994, allocations: 273.6 kB / 2.878 GB, free: 130.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/5.994, allocations: 3.25 kB / 2.878 GB, free: 130.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001817/5.994, allocations: 30.89 kB / 2.878 GB, free: 130.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007053/5.995, allocations: 114 kB / 2.878 GB, free: 130.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006621/5.995, allocations: 1.173 MB / 2.879 GB, free: 129.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/5.996, allocations: 90.2 kB / 2.879 GB, free: 129.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.435e-05/5.996, allocations: 17.91 kB / 2.879 GB, free: 129.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/5.996, allocations: 6.688 kB / 2.879 GB, free: 129.7 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005699/5.997, allocations: 282.6 kB / 2.879 GB, free: 129.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/5.997, allocations: 3.188 kB / 2.879 GB, free: 129.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001586/5.997, allocations: 44.86 kB / 2.879 GB, free: 129.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00049/5.998, allocations: 96.36 kB / 2.88 GB, free: 129.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/5.999, allocations: 1.398 MB / 2.881 GB, free: 128.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/6, allocations: 90.06 kB / 2.881 GB, free: 128.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.942e-05/6, allocations: 13.77 kB / 2.881 GB, free: 128.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001599/6, allocations: 117.3 kB / 2.881 GB, free: 128.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/6, allocations: 64.66 kB / 2.881 GB, free: 128.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008816/6.001, allocations: 414.6 kB / 2.882 GB, free: 128.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/6.001, allocations: 3.875 kB / 2.882 GB, free: 128.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/6.001, allocations: 3.797 kB / 2.882 GB, free: 128.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/6.001, allocations: 0 / 2.882 GB, free: 128.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001976/6.003, allocations: 1.133 MB / 2.883 GB, free: 127.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/6.003, allocations: 0 / 2.883 GB, free: 127.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004333/6.004, allocations: 73.28 kB / 2.883 GB, free: 127.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.238e-05/6.004, allocations: 35.39 kB / 2.883 GB, free: 127.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/6.004, allocations: 7.531 kB / 2.883 GB, free: 127.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005138/6.004, allocations: 1.163 MB / 2.884 GB, free: 126.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/6.004, allocations: 10 kB / 2.884 GB, free: 126.7 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009568/6.005, allocations: 0.7226 MB / 2.885 GB, free: 126.4 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001418/6.007, allocations: 1.33 MB / 2.886 GB, free: 125.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003999/6.007, allocations: 210.7 kB / 2.886 GB, free: 125.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/6.007, allocations: 9.875 kB / 2.886 GB, free: 125.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008705/6.008, allocations: 54.5 kB / 2.886 GB, free: 125.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.799e-05/6.008, allocations: 25.78 kB / 2.886 GB, free: 125.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-05/6.008, allocations: 17.06 kB / 2.886 GB, free: 125.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0007237/6.009, allocations: 0.509 MB / 2.887 GB, free: 125.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003406/6.013, allocations: 0.6708 MB / 2.887 GB, free: 125.5 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (dam.filter.s[1],dam.filter.s[2],vav.filter.s[1],vav.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002229/6.015, allocations: 1.417 MB / 2.889 GB, free: 125.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001509/6.016, allocations: 0.5674 MB / 2.889 GB, free: 125 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/6.016, allocations: 0 / 2.889 GB, free: 125 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003711/6.017, allocations: 162 kB / 2.889 GB, free: 125 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/6.018, allocations: 221.5 kB / 2.89 GB, free: 125 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/6.021, allocations: 0.9105 MB / 2.891 GB, free: 124.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007919/6.021, allocations: 1.042 MB / 2.892 GB, free: 124 MB / 0.6042 GB Notification: Performance of SimCode: time 1.483e-06/6.021, allocations: 0 / 2.892 GB, free: 124 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_VAVBoxExponential_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1)