Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",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.079/2.079, allocations: 248.6 MB / 255.9 MB, free: 7.09 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.001761/0.001761, allocations: 195.4 kB / 315.1 MB, free: 4.254 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.766/1.766, allocations: 205.1 MB / 0.5658 GB, free: 344 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.001311/0.001311, allocations: 101.7 kB / 0.67 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4563/0.4576, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.6626, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5938/1.256, allocations: 135.1 MB / 1.015 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/1.257, allocations: 93.11 kB / 1.016 GB, free: 5.137 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.03276/1.29, allocations: 8.101 MB / 1.023 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/1.29, allocations: 8 kB / 1.023 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.56e-05/1.29, allocations: 19.72 kB / 1.023 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005332/1.29, allocations: 259.7 kB / 1.024 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/1.29, allocations: 0 / 1.024 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/1.29, allocations: 4 kB / 1.024 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004939/1.291, allocations: 180.2 kB / 1.024 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/1.291, allocations: 124.3 kB / 1.024 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/1.291, allocations: 4 kB / 1.024 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/1.291, allocations: 0 / 1.024 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/1.291, allocations: 0 / 1.024 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/1.292, allocations: 235.4 kB / 1.024 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003834/1.292, allocations: 146.3 kB / 1.024 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/1.292, allocations: 62.53 kB / 1.024 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/1.292, allocations: 0 / 1.024 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002493/1.293, allocations: 116.3 kB / 1.025 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 2.245e-06/1.293, allocations: 4 kB / 1.025 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0005845/1.293, allocations: 178.9 kB / 1.025 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/1.293, allocations: 77.11 kB / 1.025 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003885/1.294, allocations: 219.8 kB / 1.025 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/1.294, allocations: 32.95 kB / 1.025 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/1.294, allocations: 91.38 kB / 1.025 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.998e-05/1.294, allocations: 46.2 kB / 1.025 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.214e-05/1.294, allocations: 0 / 1.025 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.294, allocations: 330 kB / 1.025 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/1.294, allocations: 56.42 kB / 1.026 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/1.294, allocations: 80.42 kB / 1.026 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/1.295, allocations: 63.72 kB / 1.026 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/1.295, allocations: 0 / 1.026 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005435/1.295, allocations: 206.8 kB / 1.026 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/1.295, allocations: 7.906 kB / 1.026 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/1.295, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/1.295, allocations: 3.938 kB / 1.026 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/1.296, allocations: 35.91 kB / 1.026 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/1.296, allocations: 0 / 1.026 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/1.296, allocations: 7.938 kB / 1.026 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/1.296, allocations: 4 kB / 1.026 GB, free: 12.34 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001395/1.296, allocations: 112.9 kB / 1.026 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.165e-05/1.296, allocations: 15.81 kB / 1.026 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008237/1.297, allocations: 257.5 kB / 1.026 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/1.297, allocations: 7.906 kB / 1.026 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.297, allocations: 0 / 1.026 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/1.297, allocations: 0 / 1.026 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000367/1.297, allocations: 249 kB / 1.027 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.297, allocations: 0 / 1.027 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/1.297, allocations: 31.98 kB / 1.027 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/1.297, allocations: 7.938 kB / 1.027 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/1.298, allocations: 3.984 kB / 1.027 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/1.298, allocations: 4 kB / 1.027 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.298, allocations: 0 / 1.027 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005609/1.298, allocations: 241.1 kB / 1.027 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006931/1.299, allocations: 0.621 MB / 1.027 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/1.299, allocations: 103.2 kB / 1.027 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.777e-05/1.299, allocations: 3 kB / 1.027 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/1.299, allocations: 4 kB / 1.028 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.936e-05/1.299, allocations: 11.98 kB / 1.028 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/1.299, allocations: 14.92 kB / 1.028 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002688/1.3, allocations: 181.7 kB / 1.028 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001264/1.301, allocations: 46.56 kB / 1.028 GB, free: 10.56 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00101/1.302, allocations: 364.2 kB / 1.028 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004479/1.302, allocations: 149.7 kB / 1.028 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.302, allocations: 0 / 1.028 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002146/1.303, allocations: 92.03 kB / 1.028 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/1.303, allocations: 38.73 kB / 1.028 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008961/1.304, allocations: 256.4 kB / 1.029 GB, free: 9.852 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005004/1.304, allocations: 0.7657 MB / 1.029 GB, free: 9.066 MB / 0.6511 GB Notification: Performance of SimCode: time 1.052e-06/1.304, allocations: 4 kB / 1.029 GB, free: 9.062 MB / 0.6511 GB