Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",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.3-maint.7.0.x/package.mo): time 1.222/1.222, allocations: 249.4 MB / 256.7 MB, free: 6.898 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.000969/0.0009689, allocations: 183.6 kB / 316 MB, free: 3.539 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.154/1.154, allocations: 205.1 MB / 0.5667 GB, free: 15.68 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.0008506/0.0008505, allocations: 84.67 kB / 0.671 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.328/0.3289, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.486, allocations: 106.3 MB / 0.8846 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.572/4.058, allocations: 2.178 GB / 3.063 GB, free: 226.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/4.059, allocations: 83.95 kB / 3.063 GB, free: 226.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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.3416/4.4, allocations: 208.4 MB / 3.266 GB, free: 13.65 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/4.4, allocations: 8 kB / 3.266 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002566/4.401, allocations: 51.67 kB / 3.266 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/4.401, allocations: 287.2 kB / 3.267 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/4.401, allocations: 4 kB / 3.267 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/4.401, allocations: 12 kB / 3.267 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002395/4.401, allocations: 168.3 kB / 3.267 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/4.401, allocations: 202.6 kB / 3.267 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/4.401, allocations: 0 / 3.267 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/4.402, allocations: 0 / 3.267 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/4.402, allocations: 8 kB / 3.267 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/4.403, allocations: 0.8405 MB / 3.268 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/4.403, allocations: 122.5 kB / 3.268 GB, free: 11.85 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/4.403, allocations: 100.8 kB / 3.268 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00022/4.403, allocations: 190.2 kB / 3.268 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.535e-05/4.403, allocations: 38.81 kB / 3.268 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/4.403, allocations: 3.938 kB / 3.268 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14): time 0.0004907/4.404, allocations: 231.5 kB / 3.269 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.326e-05/4.404, allocations: 51.41 kB / 3.269 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.489e-05/4.404, allocations: 157.8 kB / 3.269 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/4.404, allocations: 25.7 kB / 3.269 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.939e-05/4.404, allocations: 128.2 kB / 3.269 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/4.404, allocations: 47.3 kB / 3.269 GB, free: 10.81 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.106e-05/4.404, allocations: 0 / 3.269 GB, free: 10.81 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.167e-05/4.404, allocations: 334.7 kB / 3.269 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.297e-05/4.404, allocations: 63.97 kB / 3.269 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/4.404, allocations: 112.2 kB / 3.269 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.799e-05/4.404, allocations: 79.94 kB / 3.27 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/4.404, allocations: 0 / 3.27 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002486/4.404, allocations: 205.3 kB / 3.27 GB, free: 10 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/4.404, allocations: 4 kB / 3.27 GB, free: 9.996 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/4.405, allocations: 0 / 3.27 GB, free: 9.996 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/4.405, allocations: 4 kB / 3.27 GB, free: 9.992 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/4.405, allocations: 39.97 kB / 3.27 GB, free: 9.953 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/4.405, allocations: 4 kB / 3.27 GB, free: 9.949 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/4.405, allocations: 31.81 kB / 3.27 GB, free: 9.918 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/4.405, allocations: 4 kB / 3.27 GB, free: 9.914 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * 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 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 5.706e-05/4.405, allocations: 109 kB / 3.27 GB, free: 9.801 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-05/4.405, allocations: 15.81 kB / 3.27 GB, free: 9.785 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.154e-05/4.405, allocations: 25.45 kB / 3.27 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/4.405, allocations: 3.906 kB / 3.27 GB, free: 9.762 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/4.405, allocations: 4 kB / 3.27 GB, free: 9.758 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/4.405, allocations: 0 / 3.27 GB, free: 9.758 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006795/4.406, allocations: 0.6528 MB / 3.271 GB, free: 9.039 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/4.406, allocations: 0 / 3.271 GB, free: 9.039 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001965/4.406, allocations: 40.12 kB / 3.271 GB, free: 9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/4.406, allocations: 8 kB / 3.271 GB, free: 8.992 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/4.406, allocations: 0 / 3.271 GB, free: 8.992 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/4.406, allocations: 7.984 kB / 3.271 GB, free: 8.984 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/4.406, allocations: 7.984 kB / 3.271 GB, free: 8.977 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002814/4.406, allocations: 433.8 kB / 3.271 GB, free: 8.473 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003846/4.407, allocations: 0.8286 MB / 3.272 GB, free: 7.562 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/4.407, allocations: 116.8 kB / 3.272 GB, free: 7.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/4.407, allocations: 4 kB / 3.272 GB, free: 7.426 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/4.407, allocations: 15.98 kB / 3.272 GB, free: 7.41 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/4.407, allocations: 15.89 kB / 3.272 GB, free: 7.395 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/4.407, allocations: 4 kB / 3.272 GB, free: 7.391 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.022e-05/4.407, allocations: 136.2 kB / 3.272 GB, free: 7.258 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001076/4.408, allocations: 199.8 kB / 3.272 GB, free: 7.062 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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.0009654/4.409, allocations: 1.018 MB / 3.273 GB, free: 6.047 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000241/4.41, allocations: 169.2 kB / 3.274 GB, free: 5.883 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/4.41, allocations: 0 / 3.274 GB, free: 5.883 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/4.41, allocations: 96.39 kB / 3.274 GB, free: 5.789 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/4.41, allocations: 74.64 kB / 3.274 GB, free: 5.719 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004677/4.411, allocations: 321.4 kB / 3.274 GB, free: 5.363 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002426/4.411, allocations: 0.7858 MB / 3.275 GB, free: 4.551 MB / 0.8698 GB Notification: Performance of SimCode: time 2.51e-07/4.411, allocations: 0 / 3.275 GB, free: 4.551 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)