Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",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.198/2.198, allocations: 248.6 MB / 255.9 MB, free: 340 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00231/0.00231, allocations: 186.3 kB / 315.1 MB, free: 7.746 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.194/2.194, allocations: 205.1 MB / 0.5658 GB, free: 25.44 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001297/0.001297, allocations: 94 kB / 0.67 GB, free: 2.918 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2848/0.2861, allocations: 112.4 MB / 0.7797 GB, free: 2.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5334/0.8196, allocations: 106.2 MB / 0.8835 GB, free: 77.24 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.853/6.672, allocations: 2.201 GB / 3.084 GB, free: 230.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005118/6.673, allocations: 91.08 kB / 3.084 GB, free: 230.7 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 2.596/9.269, allocations: 0.5869 GB / 3.671 GB, free: 6.133 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/9.269, allocations: 8 kB / 3.671 GB, free: 6.125 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006208/9.275, allocations: 394.2 kB / 3.671 GB, free: 5.738 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004453/9.28, allocations: 1.106 MB / 3.673 GB, free: 4.574 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.484e-05/9.28, allocations: 16 kB / 3.673 GB, free: 4.559 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003731/9.28, allocations: 36 kB / 3.673 GB, free: 4.523 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001798/9.282, allocations: 0.5291 MB / 3.673 GB, free: 3.996 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/9.284, allocations: 0.5845 MB / 3.674 GB, free: 3.387 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.344e-05/9.284, allocations: 7.984 kB / 3.674 GB, free: 3.379 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001618/9.284, allocations: 4 kB / 3.674 GB, free: 3.375 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/9.284, allocations: 15.91 kB / 3.674 GB, free: 3.359 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01382/9.298, allocations: 2.651 MB / 3.676 GB, free: 0.5898 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/9.3, allocations: 494.4 kB / 3.677 GB, free: 100 kB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3755/9.675, allocations: 297.4 kB / 3.677 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005739/9.676, allocations: 299 kB / 3.677 GB, free: 225.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/9.676, allocations: 41.06 kB / 3.677 GB, free: 225.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=43): time 3.296e-06/9.676, allocations: 0 / 3.677 GB, free: 225.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=43): time 0.003021/9.679, allocations: 0.6988 MB / 3.678 GB, free: 225.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/9.679, allocations: 132 kB / 3.678 GB, free: 225.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002677/9.682, allocations: 0.9707 MB / 3.679 GB, free: 225 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003004/9.682, allocations: 32.03 kB / 3.679 GB, free: 225 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/9.682, allocations: 274.4 kB / 3.679 GB, free: 224.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/9.683, allocations: 141.9 kB / 3.68 GB, free: 224.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-05/9.683, allocations: 0 / 3.68 GB, free: 224.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.452e-05/9.683, allocations: 328.5 kB / 3.68 GB, free: 224.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006365/9.683, allocations: 244.4 kB / 3.68 GB, free: 224.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000945/9.684, allocations: 484.9 kB / 3.681 GB, free: 224.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000881/9.685, allocations: 298.9 kB / 3.681 GB, free: 224.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/9.685, allocations: 0 / 3.681 GB, free: 224.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002411/9.688, allocations: 0.6932 MB / 3.682 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.416e-05/9.688, allocations: 106.5 kB / 3.682 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.766e-05/9.688, allocations: 0 / 3.682 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/9.688, allocations: 3.906 kB / 3.682 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/9.689, allocations: 125.7 kB / 3.682 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/9.689, allocations: 7.531 kB / 3.682 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002936/9.692, allocations: 129.5 kB / 3.682 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003204/9.693, allocations: 28.88 kB / 3.682 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/9.693, allocations: 5.5 kB / 3.682 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001807/9.695, allocations: 0.5616 MB / 3.682 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/9.695, allocations: 3.875 kB / 3.682 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/9.695, allocations: 0 / 3.682 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/9.696, allocations: 135.1 kB / 3.683 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/9.696, allocations: 0 / 3.683 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002776/9.699, allocations: 131.5 kB / 3.683 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002273/9.699, allocations: 30.31 kB / 3.683 GB, free: 224.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 45 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00028/9.699, allocations: 115.6 kB / 3.683 GB, free: 224 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005123/9.7, allocations: 93.41 kB / 3.683 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002556/9.702, allocations: 0.7379 MB / 3.684 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/9.702, allocations: 7.594 kB / 3.684 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/9.702, allocations: 3.375 kB / 3.684 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/9.702, allocations: 3.891 kB / 3.684 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004886/9.707, allocations: 1.813 MB / 3.685 GB, free: 223.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/9.707, allocations: 3.969 kB / 3.685 GB, free: 223.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/9.709, allocations: 120.9 kB / 3.686 GB, free: 223.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.229e-05/9.709, allocations: 3.562 kB / 3.686 GB, free: 223.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.663e-05/9.709, allocations: 22.48 kB / 3.686 GB, free: 223.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.766e-06/9.709, allocations: 7.656 kB / 3.686 GB, free: 223.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/9.709, allocations: 0 / 3.686 GB, free: 223.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002745/9.712, allocations: 1.228 MB / 3.687 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003959/9.716, allocations: 2.058 MB / 3.689 GB, free: 222.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/9.717, allocations: 295.7 kB / 3.689 GB, free: 222.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004231/9.717, allocations: 7.641 kB / 3.689 GB, free: 222.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002242/9.72, allocations: 82.47 kB / 3.689 GB, free: 222.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/9.72, allocations: 39.03 kB / 3.689 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.462e-05/9.72, allocations: 26.8 kB / 3.689 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.00188/9.722, allocations: 0.7517 MB / 3.69 GB, free: 222 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006215/9.728, allocations: 0.9536 MB / 3.691 GB, free: 222 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.x[1],mixBox.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00387/9.732, allocations: 1.897 MB / 3.693 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002668/9.735, allocations: 0.9389 MB / 3.694 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/9.735, allocations: 3 kB / 3.694 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007535/9.736, allocations: 294.6 kB / 3.694 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004716/9.74, allocations: 398.6 kB / 3.694 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00487/9.745, allocations: 1.322 MB / 3.696 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00149/9.747, allocations: 1.189 MB / 3.697 GB, free: 220.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.984e-06/9.747, allocations: 0 / 3.697 GB, free: 220.4 MB / 0.8698 GB