Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",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.377/2.377, allocations: 248.6 MB / 255.9 MB, free: 7.184 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.002459/0.002459, allocations: 195.5 kB / 315.1 MB, free: 4.266 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.966/1.966, 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.00131/0.00131, allocations: 87.33 kB / 0.67 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4646/0.466, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.6694, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.827/6.496, allocations: 2.189 GB / 3.073 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/6.497, allocations: 91.06 kB / 3.073 GB, free: 178.8 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 1.765/8.261, allocations: 380.3 MB / 3.444 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/8.262, allocations: 8 kB / 3.444 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002622/8.264, allocations: 275 kB / 3.445 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/8.266, allocations: 493.5 kB / 3.445 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006147/8.266, allocations: 96.94 kB / 3.445 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.805e-05/8.267, allocations: 28 kB / 3.445 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001212/8.268, allocations: 393.8 kB / 3.445 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/8.269, allocations: 0.4934 MB / 3.446 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/8.269, allocations: 3.906 kB / 3.446 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.87e-05/8.269, allocations: 4 kB / 3.446 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.688e-05/8.269, allocations: 24.92 kB / 3.446 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005629/8.275, allocations: 2.071 MB / 3.448 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003934/8.275, allocations: 143.2 kB / 3.448 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/8.275, allocations: 84.83 kB / 3.448 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/8.276, allocations: 0 / 3.448 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/8.276, allocations: 38.56 kB / 3.448 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 1.744e-06/8.276, allocations: 7.938 kB / 3.448 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.003088/8.279, allocations: 431 kB / 3.449 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/8.279, allocations: 77.11 kB / 3.449 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000624/8.279, allocations: 349.1 kB / 3.449 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.697e-05/8.279, allocations: 29.7 kB / 3.449 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/8.28, allocations: 271.2 kB / 3.449 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.441e-05/8.28, allocations: 43.39 kB / 3.449 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/8.28, allocations: 0 / 3.449 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.204e-05/8.28, allocations: 346.8 kB / 3.45 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002709/8.28, allocations: 104 kB / 3.45 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003182/8.28, allocations: 196.7 kB / 3.45 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004086/8.281, allocations: 135.8 kB / 3.45 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/8.281, allocations: 0 / 3.45 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.003227/8.284, allocations: 0.5347 MB / 3.451 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/8.284, allocations: 7.906 kB / 3.451 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/8.284, allocations: 4 kB / 3.451 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006175/8.285, allocations: 128.9 kB / 3.451 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007267/8.286, allocations: 79.89 kB / 3.451 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003648/8.289, allocations: 1.733 MB / 3.453 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/8.29, allocations: 79.69 kB / 3.453 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.377e-05/8.29, allocations: 12 kB / 3.453 GB, free: 138 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaFlo.Q_flow:VARIABLE(unit = "W" ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * 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): 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.000258/8.291, allocations: 116.9 kB / 3.453 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/8.291, allocations: 43.53 kB / 3.453 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000174/8.291, allocations: 39.27 kB / 3.453 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/8.291, allocations: 0 / 3.453 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/8.291, allocations: 11.84 kB / 3.453 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/8.291, allocations: 4 kB / 3.453 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003601/8.295, allocations: 0.8945 MB / 3.454 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/8.295, allocations: 0 / 3.454 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004416/8.295, allocations: 51.97 kB / 3.454 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005058/8.296, allocations: 132.7 kB / 3.454 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/8.296, allocations: 4 kB / 3.454 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003428/8.299, allocations: 1.719 MB / 3.456 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/8.299, allocations: 0 / 3.456 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003044/8.302, allocations: 0.5601 MB / 3.456 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003462/8.306, allocations: 0.9914 MB / 3.457 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004593/8.306, allocations: 156.5 kB / 3.457 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/8.306, allocations: 3.984 kB / 3.457 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/8.308, allocations: 67.94 kB / 3.457 GB, free: 133 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.2e-05/8.308, allocations: 11.91 kB / 3.457 GB, free: 133 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-05/8.308, allocations: 15.97 kB / 3.457 GB, free: 133 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0004801/8.308, allocations: 271.2 kB / 3.458 GB, free: 132.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002515/8.311, allocations: 339.5 kB / 3.458 GB, free: 132.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 6 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001982/8.313, allocations: 1.149 MB / 3.459 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001107/8.314, allocations: 342.2 kB / 3.459 GB, free: 131 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/8.314, allocations: 0 / 3.459 GB, free: 131 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004298/8.315, allocations: 194.6 kB / 3.46 GB, free: 130.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/8.316, allocations: 175.1 kB / 3.46 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004663/8.321, allocations: 0.7375 MB / 3.461 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006091/8.322, allocations: 0.9158 MB / 3.461 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.342e-06/8.322, allocations: 192 / 3.461 GB, free: 128.9 MB / 0.8698 GB