Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7794/0.7794, allocations: 141.8 MB / 149.1 MB, free: 1.066 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 177.3 kB / 182 MB, free: 388 kB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 221.4 MB / 436 MB, free: 5.164 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009913/0.0009914, allocations: 88.12 kB / 0.507 GB, free: 1.844 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001764/0.001764, allocations: 277.9 kB / 0.5885 GB, free: 46.99 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.4469/0.4487, allocations: 89.63 MB / 0.676 GB, free: 59.38 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.6377, allocations: 82.78 MB / 0.7568 GB, free: 352 kB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.107/4.745, allocations: 1.872 GB / 2.629 GB, free: 93.19 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/4.745, allocations: 87.88 kB / 2.629 GB, free: 93.11 MB / 0.6982 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.58/6.326, allocations: 463.1 MB / 3.082 GB, free: 158.8 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/6.326, allocations: 10.47 kB / 3.082 GB, free: 158.8 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/6.327, allocations: 180.9 kB / 3.082 GB, free: 158.7 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002083/6.329, allocations: 0.7073 MB / 3.082 GB, free: 158.5 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.554e-05/6.33, allocations: 10.75 kB / 3.082 GB, free: 158.5 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/6.33, allocations: 33.34 kB / 3.083 GB, free: 158.5 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007747/6.331, allocations: 282.1 kB / 3.083 GB, free: 158.5 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/6.332, allocations: 372.7 kB / 3.083 GB, free: 158.4 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/6.332, allocations: 3.938 kB / 3.083 GB, free: 158.4 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.434e-05/6.332, allocations: 0.9062 kB / 3.083 GB, free: 158.4 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.925e-05/6.332, allocations: 19.83 kB / 3.083 GB, free: 158.4 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003995/6.336, allocations: 1.904 MB / 3.085 GB, free: 157.5 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000565/6.336, allocations: 319 kB / 3.085 GB, free: 157.5 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/6.337, allocations: 137.8 kB / 3.085 GB, free: 157.4 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003075/6.337, allocations: 196.1 kB / 3.086 GB, free: 157.3 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/6.337, allocations: 38.3 kB / 3.086 GB, free: 157.2 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=28): time 3.236e-06/6.337, allocations: 3.797 kB / 3.086 GB, free: 157.2 MB / 0.6982 GB Notification: Performance of matching and sorting (n=28): time 0.00146/6.338, allocations: 407.6 kB / 3.086 GB, free: 157.1 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/6.338, allocations: 54.44 kB / 3.086 GB, free: 157.1 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/6.34, allocations: 0.6465 MB / 3.087 GB, free: 157 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 7.903e-05/6.34, allocations: 26.86 kB / 3.087 GB, free: 156.9 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/6.34, allocations: 213.8 kB / 3.087 GB, free: 156.8 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/6.34, allocations: 98.53 kB / 3.087 GB, free: 156.7 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/6.34, allocations: 3.625 kB / 3.087 GB, free: 156.7 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 7.187e-05/6.34, allocations: 319.2 kB / 3.087 GB, free: 156.4 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/6.34, allocations: 105.7 kB / 3.087 GB, free: 156.4 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003275/6.341, allocations: 268.2 kB / 3.088 GB, free: 156.2 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/6.341, allocations: 156.6 kB / 3.088 GB, free: 156.2 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/6.341, allocations: 0 / 3.088 GB, free: 156.2 MB / 0.6982 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001112/6.342, allocations: 410.5 kB / 3.088 GB, free: 156.1 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001253/6.342, allocations: 272.9 kB / 3.089 GB, free: 155.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/6.342, allocations: 2.078 kB / 3.089 GB, free: 155.9 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000225/6.343, allocations: 31.58 kB / 3.089 GB, free: 155.9 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008134/6.343, allocations: 106.4 kB / 3.089 GB, free: 155.9 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007695/6.344, allocations: 1.173 MB / 3.09 GB, free: 154.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/6.346, allocations: 91.77 kB / 3.09 GB, free: 154.7 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.633e-05/6.346, allocations: 16.98 kB / 3.09 GB, free: 154.7 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/6.346, allocations: 7.344 kB / 3.09 GB, free: 154.7 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009119/6.347, allocations: 282.1 kB / 3.09 GB, free: 154.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/6.347, allocations: 1.594 kB / 3.09 GB, free: 154.7 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002307/6.347, allocations: 37.86 kB / 3.09 GB, free: 154.7 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006088/6.348, allocations: 101.8 kB / 3.09 GB, free: 154.7 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001709/6.349, allocations: 1.4 MB / 3.092 GB, free: 153.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/6.351, allocations: 88.8 kB / 3.092 GB, free: 153.4 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.465e-05/6.351, allocations: 12.92 kB / 3.092 GB, free: 153.4 MB / 0.6982 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.0001674/6.351, allocations: 117.4 kB / 3.092 GB, free: 153.3 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002843/6.351, allocations: 70.8 kB / 3.092 GB, free: 153.3 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/6.352, allocations: 408.9 kB / 3.092 GB, free: 153.2 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/6.353, allocations: 6.562 kB / 3.092 GB, free: 153.2 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.567e-06/6.353, allocations: 9.062 kB / 3.092 GB, free: 153.2 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/6.353, allocations: 1.875 kB / 3.092 GB, free: 153.2 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002359/6.355, allocations: 1.129 MB / 3.094 GB, free: 152.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/6.355, allocations: 2.594 kB / 3.094 GB, free: 152.7 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004315/6.355, allocations: 74.61 kB / 3.094 GB, free: 152.7 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.595e-05/6.355, allocations: 31.38 kB / 3.094 GB, free: 152.7 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/6.356, allocations: 9.734 kB / 3.094 GB, free: 152.7 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004865/6.356, allocations: 1.156 MB / 3.095 GB, free: 151.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/6.356, allocations: 2.094 kB / 3.095 GB, free: 151.5 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001094/6.357, allocations: 0.7195 MB / 3.095 GB, free: 151.1 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001683/6.359, allocations: 1.335 MB / 3.097 GB, free: 150.4 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004556/6.359, allocations: 213.2 kB / 3.097 GB, free: 150.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/6.36, allocations: 6.344 kB / 3.097 GB, free: 150.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009276/6.36, allocations: 60.66 kB / 3.097 GB, free: 150.2 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.553e-05/6.361, allocations: 25.38 kB / 3.097 GB, free: 150.2 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.556e-05/6.361, allocations: 16.53 kB / 3.097 GB, free: 150.2 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0008794/6.361, allocations: 0.5144 MB / 3.098 GB, free: 150 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.003498/6.365, allocations: 0.677 MB / 3.098 GB, free: 149.6 MB / 0.6982 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.002524/6.368, allocations: 1.398 MB / 3.1 GB, free: 149.1 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001719/6.369, allocations: 0.5792 MB / 3.1 GB, free: 148.8 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/6.369, allocations: 0 / 3.1 GB, free: 148.8 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0004022/6.37, allocations: 163 kB / 3.1 GB, free: 148.7 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/6.372, allocations: 222.8 kB / 3.101 GB, free: 148.6 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00367/6.375, allocations: 0.9195 MB / 3.101 GB, free: 148.1 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/6.376, allocations: 1.024 MB / 3.102 GB, free: 147.3 MB / 0.6982 GB Notification: Performance of SimCode: time 1.042e-06/6.376, allocations: 4.031 kB / 3.102 GB, free: 147.3 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Examples_VAVBoxExponential_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.fmu > BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1)