Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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.357/2.357, allocations: 248.6 MB / 255.9 MB, free: 7.113 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.001689/0.001688, allocations: 189 kB / 315.1 MB, free: 4.246 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.971/1.971, allocations: 205.1 MB / 0.5658 GB, free: 364 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.001325/0.001325, allocations: 90.34 kB / 0.67 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.482/0.4833, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.7061, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.748/6.454, allocations: 2.202 GB / 3.086 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003187/6.454, allocations: 85.39 kB / 3.086 GB, free: 166.1 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 2.854/9.308, allocations: 0.5884 GB / 3.674 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/9.308, allocations: 9.75 kB / 3.674 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/9.309, allocations: 181.5 kB / 3.675 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001996/9.311, allocations: 0.5366 MB / 3.675 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006705/9.312, allocations: 101.9 kB / 3.675 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/9.312, allocations: 34.38 kB / 3.675 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001102/9.313, allocations: 329.3 kB / 3.676 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/9.315, allocations: 0.6361 MB / 3.676 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/9.315, allocations: 9.531 kB / 3.676 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-05/9.315, allocations: 0 / 3.676 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.44e-05/9.315, allocations: 23 kB / 3.676 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005709/9.321, allocations: 4.045 MB / 3.68 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/9.321, allocations: 106 kB / 3.68 GB, free: 179 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/9.321, allocations: 64.44 kB / 3.68 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002558/9.321, allocations: 103.9 kB / 3.68 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/9.321, allocations: 33.56 kB / 3.68 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 2.985e-06/9.321, allocations: 0 / 3.68 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0007941/9.322, allocations: 166.5 kB / 3.681 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/9.322, allocations: 137.9 kB / 3.681 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008449/9.323, allocations: 453.8 kB / 3.681 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.091e-05/9.323, allocations: 28.77 kB / 3.681 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/9.323, allocations: 347.5 kB / 3.682 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/9.323, allocations: 42.8 kB / 3.682 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-05/9.323, allocations: 0 / 3.682 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001167/9.324, allocations: 356.2 kB / 3.682 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/9.324, allocations: 76.06 kB / 3.682 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003596/9.324, allocations: 317.8 kB / 3.682 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/9.325, allocations: 149.9 kB / 3.682 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/9.325, allocations: 0 / 3.682 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001064/9.326, allocations: 379 kB / 3.683 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/9.326, allocations: 3.781 kB / 3.683 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/9.326, allocations: 13.41 kB / 3.683 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.983e-05/9.326, allocations: 10.88 kB / 3.683 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006809/9.326, allocations: 99.72 kB / 3.683 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-05/9.326, allocations: 17.19 kB / 3.683 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/9.328, allocations: 108.9 kB / 3.683 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-05/9.328, allocations: 20.72 kB / 3.683 GB, free: 177.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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 prepare postOptimizeDAE: time 0.000148/9.328, allocations: 121.1 kB / 3.683 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003341/9.328, allocations: 52.56 kB / 3.683 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/9.329, allocations: 50.78 kB / 3.683 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/9.329, allocations: 3.625 kB / 3.683 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-05/9.329, allocations: 2.969 kB / 3.683 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/9.329, allocations: 0 / 3.683 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002933/9.332, allocations: 1.033 MB / 3.684 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/9.332, allocations: 7.281 kB / 3.684 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/9.332, allocations: 18.41 kB / 3.684 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/9.332, allocations: 3 kB / 3.684 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/9.332, allocations: 3.969 kB / 3.684 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.154e-06/9.332, allocations: 3.938 kB / 3.684 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/9.332, allocations: 9.75 kB / 3.684 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004467/9.332, allocations: 341.7 kB / 3.685 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008745/9.333, allocations: 0.802 MB / 3.685 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002609/9.334, allocations: 142.7 kB / 3.686 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/9.334, allocations: 8.719 kB / 3.686 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000491/9.334, allocations: 22 kB / 3.686 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/9.334, allocations: 18.88 kB / 3.686 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/9.334, allocations: 3.5 kB / 3.686 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005995/9.335, allocations: 340.8 kB / 3.686 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002912/9.338, allocations: 0.4913 MB / 3.686 GB, free: 175.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.003361/9.341, allocations: 1.943 MB / 3.688 GB, free: 175 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000697/9.342, allocations: 186.5 kB / 3.688 GB, free: 175 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/9.342, allocations: 0 / 3.688 GB, free: 175 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/9.342, allocations: 51.98 kB / 3.689 GB, free: 175 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/9.344, allocations: 177.1 kB / 3.689 GB, free: 175 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/9.346, allocations: 0.7065 MB / 3.689 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001088/9.347, allocations: 0.9868 MB / 3.69 GB, free: 174 MB / 0.8698 GB Notification: Performance of SimCode: time 1.984e-06/9.347, allocations: 0 / 3.69 GB, free: 174 MB / 0.8698 GB