Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",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.1/package.mo): time 2.294/2.294, allocations: 248.6 MB / 255.9 MB, free: 7.145 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001718/0.001718, allocations: 184.3 kB / 315.1 MB, free: 4.277 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.945/1.945, allocations: 205.1 MB / 0.5658 GB, free: 460 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001316/0.001315, allocations: 90.39 kB / 0.67 GB, free: 5.664 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4594/0.4608, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.6678, allocations: 106.3 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.846/6.514, allocations: 2.245 GB / 3.129 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/6.514, allocations: 88.19 kB / 3.129 GB, free: 121.4 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: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 3.042/9.556, allocations: 0.6042 GB / 3.733 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.426e-05/9.557, allocations: 8.562 kB / 3.733 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004421/9.561, allocations: 395.9 kB / 3.733 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005492/9.567, allocations: 1.231 MB / 3.735 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.309e-05/9.567, allocations: 32.23 kB / 3.735 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002504/9.567, allocations: 62.94 kB / 3.735 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002652/9.57, allocations: 0.7043 MB / 3.735 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002958/9.573, allocations: 0.9534 MB / 3.736 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.34e-05/9.573, allocations: 5.094 kB / 3.736 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001472/9.573, allocations: 6.281 kB / 3.736 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.951e-05/9.573, allocations: 39.42 kB / 3.736 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01192/9.585, allocations: 5.047 MB / 3.741 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003157/9.588, allocations: 0.6411 MB / 3.742 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/9.59, allocations: 315.9 kB / 3.742 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001237/9.591, allocations: 313.7 kB / 3.743 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.387e-05/9.591, allocations: 43.47 kB / 3.743 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=70): time 5.901e-06/9.591, allocations: 0 / 3.743 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70): time 0.005438/9.597, allocations: 0.737 MB / 3.743 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/9.597, allocations: 166 kB / 3.743 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002402/9.599, allocations: 0.6001 MB / 3.744 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003143/9.6, allocations: 31.11 kB / 3.744 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004926/9.6, allocations: 412 kB / 3.744 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005777/9.601, allocations: 238.1 kB / 3.745 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.092e-05/9.601, allocations: 0 / 3.745 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001289/9.601, allocations: 341.5 kB / 3.745 GB, free: 166 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/9.602, allocations: 230.3 kB / 3.745 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/9.604, allocations: 455.9 kB / 3.746 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/9.605, allocations: 368.7 kB / 3.746 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.285e-05/9.605, allocations: 2.25 kB / 3.746 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002829/9.608, allocations: 0.804 MB / 3.747 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000423/9.609, allocations: 1.659 MB / 3.748 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/9.609, allocations: 4.344 kB / 3.748 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.931e-05/9.609, allocations: 12.69 kB / 3.748 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003403/9.612, allocations: 265.6 kB / 3.749 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/9.614, allocations: 1.351 MB / 3.75 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002087/9.616, allocations: 103.5 kB / 3.75 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/9.616, allocations: 36.64 kB / 3.75 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/9.616, allocations: 3.562 kB / 3.75 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002331/9.619, allocations: 0.6751 MB / 3.751 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/9.619, allocations: 8.031 kB / 3.751 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/9.619, allocations: 8.156 kB / 3.751 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003254/9.622, allocations: 265.7 kB / 3.751 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/9.624, allocations: 1.36 MB / 3.752 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/9.626, allocations: 94.72 kB / 3.752 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/9.626, allocations: 31.72 kB / 3.753 GB, free: 159.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0003631/9.626, allocations: 123.5 kB / 3.753 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003412/9.627, allocations: 105.8 kB / 3.753 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003242/9.63, allocations: 0.8054 MB / 3.754 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/9.63, allocations: 11.91 kB / 3.754 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/9.63, allocations: 0 / 3.754 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002143/9.632, allocations: 0.7376 MB / 3.754 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00549/9.638, allocations: 1.875 MB / 3.756 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/9.638, allocations: 7.938 kB / 3.756 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/9.639, allocations: 155.5 kB / 3.756 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007804/9.64, allocations: 48.81 kB / 3.756 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001526/9.64, allocations: 7.938 kB / 3.756 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001925/9.642, allocations: 1.319 MB / 3.758 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/9.642, allocations: 7.594 kB / 3.758 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003788/9.646, allocations: 1.359 MB / 3.759 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005001/9.651, allocations: 2.222 MB / 3.761 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008984/9.652, allocations: 263.3 kB / 3.761 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002245/9.652, allocations: 7.906 kB / 3.761 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/9.654, allocations: 66.97 kB / 3.761 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/9.654, allocations: 44.5 kB / 3.761 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.999e-05/9.654, allocations: 23.98 kB / 3.761 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0008977/9.655, allocations: 460.1 kB / 3.762 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0056/9.66, allocations: 1.104 MB / 3.763 GB, free: 149.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],QSen.y,QLat.y,PI.I.y,PI1.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003262/9.664, allocations: 2.002 MB / 3.765 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.006347/9.67, allocations: 1.178 MB / 3.766 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/9.67, allocations: 0 / 3.766 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001187/9.671, allocations: 425.4 kB / 3.766 GB, free: 145.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003878/9.675, allocations: 412.6 kB / 3.767 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005505/9.681, allocations: 1.698 MB / 3.769 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001327/9.682, allocations: 1.274 MB / 3.77 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.413e-06/9.682, allocations: 0 / 3.77 GB, free: 142.5 MB / 0.8698 GB