Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg",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 8.0.0/package.mo): time 2.294/2.294, allocations: 284.8 MB / 292.1 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003377/0.003377, allocations: 181.3 kB / 360.3 MB, free: 7.535 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.963/1.963, allocations: 205.1 MB / 0.6187 GB, free: 13.23 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001239/0.001238, allocations: 88.94 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2909/0.2922, allocations: 121.4 MB / 0.8502 GB, free: 3.938 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6535/0.9457, allocations: 115.2 MB / 0.9627 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.148/2.094, allocations: 455.8 MB / 1.408 GB, free: 109.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004605/2.094, allocations: 100.5 kB / 1.408 GB, free: 109.3 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 4.046/6.14, allocations: 0.8758 GB / 2.284 GB, free: 69.79 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/6.14, allocations: 12 kB / 2.284 GB, free: 69.77 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005225/6.145, allocations: 417.4 kB / 2.284 GB, free: 69.36 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05393/6.199, allocations: 9.641 MB / 2.294 GB, free: 59.59 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/6.2, allocations: 40 kB / 2.294 GB, free: 59.55 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000491/6.2, allocations: 60 kB / 2.294 GB, free: 59.49 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003797/6.204, allocations: 0.7539 MB / 2.294 GB, free: 58.73 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003883/6.208, allocations: 1.019 MB / 2.295 GB, free: 57.62 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-05/6.208, allocations: 11.94 kB / 2.295 GB, free: 57.61 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002233/6.208, allocations: 0 / 2.295 GB, free: 57.61 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.905e-05/6.208, allocations: 31.98 kB / 2.295 GB, free: 57.57 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01832/6.227, allocations: 6.963 MB / 2.302 GB, free: 50.08 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001954/6.229, allocations: 455.5 kB / 2.303 GB, free: 49.62 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/6.23, allocations: 330.8 kB / 2.303 GB, free: 49.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00287/6.233, allocations: 1.785 MB / 2.305 GB, free: 47.13 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00157/6.235, allocations: 383 kB / 2.305 GB, free: 46.74 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 7.434e-06/6.235, allocations: 0 / 2.305 GB, free: 46.74 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.00623/6.241, allocations: 0.9119 MB / 2.306 GB, free: 45.82 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/6.241, allocations: 85.77 kB / 2.306 GB, free: 45.72 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003469/6.244, allocations: 0.9602 MB / 2.307 GB, free: 44.74 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003113/6.245, allocations: 33.7 kB / 2.307 GB, free: 44.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007676/6.246, allocations: 492.5 kB / 2.308 GB, free: 44.21 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005638/6.246, allocations: 248.3 kB / 2.308 GB, free: 43.97 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/6.246, allocations: 0 / 2.308 GB, free: 43.97 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001195/6.247, allocations: 341.9 kB / 2.308 GB, free: 43.63 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/6.248, allocations: 269.9 kB / 2.308 GB, free: 43.37 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/6.249, allocations: 0.5351 MB / 2.309 GB, free: 42.71 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003979/6.253, allocations: 0.5057 MB / 2.309 GB, free: 42.21 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.59e-05/6.253, allocations: 0 / 2.309 GB, free: 42.21 MB / 0.948 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.006693/6.26, allocations: 1.092 MB / 2.31 GB, free: 41.11 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007376/6.261, allocations: 2.748 MB / 2.313 GB, free: 38.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-05/6.261, allocations: 11.98 kB / 2.313 GB, free: 38.19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.882e-05/6.261, allocations: 12 kB / 2.313 GB, free: 38.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002474/6.263, allocations: 215.7 kB / 2.313 GB, free: 37.96 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.757e-05/6.263, allocations: 19.92 kB / 2.313 GB, free: 37.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003322/6.267, allocations: 159 kB / 2.314 GB, free: 37.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003269/6.267, allocations: 51.91 kB / 2.314 GB, free: 37.74 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/6.267, allocations: 4 kB / 2.314 GB, free: 37.73 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005973/6.273, allocations: 0.9162 MB / 2.314 GB, free: 36.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.711e-05/6.273, allocations: 11.98 kB / 2.314 GB, free: 36.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.899e-05/6.273, allocations: 12.06 kB / 2.314 GB, free: 36.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0024/6.276, allocations: 219.7 kB / 2.315 GB, free: 36.58 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.473e-05/6.276, allocations: 27.86 kB / 2.315 GB, free: 36.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003204/6.279, allocations: 139.2 kB / 2.315 GB, free: 36.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003245/6.279, allocations: 51.97 kB / 2.315 GB, free: 36.36 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,eneLosInt.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0004316/6.28, allocations: 128.7 kB / 2.315 GB, free: 36.23 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005915/6.28, allocations: 150.2 kB / 2.315 GB, free: 36.08 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008507/6.289, allocations: 1.487 MB / 2.317 GB, free: 34.59 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-05/6.289, allocations: 23.92 kB / 2.317 GB, free: 34.56 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/6.289, allocations: 0 / 2.317 GB, free: 34.56 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005518/6.295, allocations: 1.191 MB / 2.318 GB, free: 33.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/6.306, allocations: 2.476 MB / 2.32 GB, free: 30.77 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.066e-05/6.306, allocations: 4 kB / 2.32 GB, free: 30.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002237/6.309, allocations: 175.9 kB / 2.32 GB, free: 30.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-05/6.309, allocations: 7.938 kB / 2.32 GB, free: 30.59 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002515/6.309, allocations: 23.97 kB / 2.32 GB, free: 30.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.116e-05/6.309, allocations: 4 kB / 2.32 GB, free: 30.56 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/6.309, allocations: 4 kB / 2.32 GB, free: 30.56 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007769/6.317, allocations: 1.794 MB / 2.322 GB, free: 28.71 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009916/6.327, allocations: 2.796 MB / 2.325 GB, free: 25.86 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001637/6.329, allocations: 362.8 kB / 2.325 GB, free: 25.49 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005877/6.329, allocations: 7.984 kB / 2.325 GB, free: 25.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002806/6.332, allocations: 99.89 kB / 2.325 GB, free: 25.38 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002586/6.332, allocations: 56.61 kB / 2.325 GB, free: 25.33 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002061/6.333, allocations: 43.97 kB / 2.325 GB, free: 25.29 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.002318/6.335, allocations: 0.7184 MB / 2.326 GB, free: 24.57 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01078/6.346, allocations: 1.186 MB / 2.327 GB, free: 23.38 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pipe.cor.del.x,pipe.cor.timDel.x,pipe.vol.dynBal.U,eneLosInt.y) * Number of discrete variables: 3 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * 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.004163/6.35, allocations: 1.186 MB / 2.328 GB, free: 22.24 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004985/6.355, allocations: 1.395 MB / 2.33 GB, free: 20.82 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/6.355, allocations: 0 / 2.33 GB, free: 20.82 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001759/6.357, allocations: 0.5356 MB / 2.33 GB, free: 20.27 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006922/6.364, allocations: 0.5128 MB / 2.331 GB, free: 19.77 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/6.379, allocations: 2.34 MB / 2.333 GB, free: 17.38 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004697/6.384, allocations: 1.447 MB / 2.335 GB, free: 15.89 MB / 0.948 GB Notification: Performance of SimCode: time 1.603e-06/6.384, allocations: 4 kB / 2.335 GB, free: 15.89 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg_fmu --startTime=0 --stopTime=875 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe 2>&1)