Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",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.1-maint.8.0.x/package.mo): time 1.352/1.352, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.001003/0.001003, allocations: 187.3 kB / 361.1 MB, free: 7.062 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.109/1.109, allocations: 205.1 MB / 0.6195 GB, free: 10.26 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.0008136/0.0008136, allocations: 92.44 kB / 0.7325 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.207/0.2078, allocations: 121.4 MB / 0.8511 GB, free: 2.848 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4873/0.6951, allocations: 115.3 MB / 0.9637 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.318/4.013, allocations: 2.1 GB / 3.064 GB, free: 34.24 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/4.014, allocations: 89.39 kB / 3.064 GB, free: 34.15 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 1.167/5.181, allocations: 406.4 MB / 3.461 GB, free: 10.23 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/5.181, allocations: 8 kB / 3.461 GB, free: 10.22 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002509/5.183, allocations: 417.5 kB / 3.461 GB, free: 9.809 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002026/5.185, allocations: 1.168 MB / 3.463 GB, free: 8.598 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.85e-05/5.185, allocations: 40 kB / 3.463 GB, free: 8.559 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/5.185, allocations: 72 kB / 3.463 GB, free: 8.488 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001821/5.187, allocations: 1.395 MB / 3.464 GB, free: 7.09 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/5.189, allocations: 1.205 MB / 3.465 GB, free: 5.809 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/5.189, allocations: 3.938 kB / 3.465 GB, free: 5.805 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/5.189, allocations: 4 kB / 3.465 GB, free: 5.801 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/5.189, allocations: 32 kB / 3.465 GB, free: 5.77 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005342/5.194, allocations: 4.659 MB / 3.47 GB, free: 0.8945 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3134/5.508, allocations: 1.16 MB / 3.471 GB, free: 306.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007512/5.509, allocations: 432.1 kB / 3.471 GB, free: 306.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007851/5.509, allocations: 0.4994 MB / 3.472 GB, free: 306.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008028/5.51, allocations: 0.5849 MB / 3.472 GB, free: 306.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=98): time 3.677e-06/5.51, allocations: 0 / 3.472 GB, free: 306.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=98): time 0.003063/5.513, allocations: 1.146 MB / 3.473 GB, free: 306.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/5.513, allocations: 243.5 kB / 3.474 GB, free: 305.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007823/5.514, allocations: 0.6199 MB / 3.474 GB, free: 305.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.109e-05/5.514, allocations: 26.83 kB / 3.474 GB, free: 305.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003572/5.515, allocations: 462.9 kB / 3.475 GB, free: 305.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002235/5.515, allocations: 319.2 kB / 3.475 GB, free: 305.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/5.515, allocations: 0 / 3.475 GB, free: 305.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.929e-05/5.515, allocations: 342.6 kB / 3.475 GB, free: 305.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004317/5.515, allocations: 328.6 kB / 3.476 GB, free: 305.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005203/5.516, allocations: 0.5107 MB / 3.476 GB, free: 305 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009892/5.517, allocations: 0.5092 MB / 3.477 GB, free: 305 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/5.517, allocations: 3.656 kB / 3.477 GB, free: 305 MB / 0.948 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002273/5.519, allocations: 1.13 MB / 3.478 GB, free: 304.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/5.519, allocations: 9.656 kB / 3.478 GB, free: 304.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/5.519, allocations: 3.969 kB / 3.478 GB, free: 304.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005995/5.52, allocations: 90.34 kB / 3.478 GB, free: 304.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/5.521, allocations: 231.7 kB / 3.478 GB, free: 304.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001636/5.523, allocations: 1.477 MB / 3.48 GB, free: 303.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000899/5.524, allocations: 107.7 kB / 3.48 GB, free: 303.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.823e-05/5.524, allocations: 39.38 kB / 3.48 GB, free: 303.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 109 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001914/5.524, allocations: 127.1 kB / 3.48 GB, free: 303.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/5.524, allocations: 102 kB / 3.48 GB, free: 303.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002967/5.527, allocations: 1.399 MB / 3.481 GB, free: 303.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/5.527, allocations: 23.22 kB / 3.481 GB, free: 303.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/5.527, allocations: 0 / 3.481 GB, free: 303.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/5.527, allocations: 3.844 kB / 3.481 GB, free: 303.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004236/5.531, allocations: 2.558 MB / 3.484 GB, free: 303.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/5.531, allocations: 6.719 kB / 3.484 GB, free: 303.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009834/5.532, allocations: 219.5 kB / 3.484 GB, free: 303.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005055/5.533, allocations: 81.12 kB / 3.484 GB, free: 303 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.656e-05/5.533, allocations: 20.66 kB / 3.484 GB, free: 303 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/5.534, allocations: 1.485 MB / 3.486 GB, free: 301.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/5.534, allocations: 1.594 kB / 3.486 GB, free: 301.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002304/5.537, allocations: 1.266 MB / 3.487 GB, free: 301.6 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002649/5.539, allocations: 1.73 MB / 3.489 GB, free: 301 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005535/5.54, allocations: 350.8 kB / 3.489 GB, free: 300.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/5.54, allocations: 7.75 kB / 3.489 GB, free: 300.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008972/5.541, allocations: 96.58 kB / 3.489 GB, free: 300.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/5.541, allocations: 61.73 kB / 3.489 GB, free: 300.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.449e-05/5.541, allocations: 44.31 kB / 3.489 GB, free: 300.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006098/5.542, allocations: 493.5 kB / 3.49 GB, free: 300.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002601/5.544, allocations: 0.7387 MB / 3.49 GB, free: 300.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * 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: 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002575/5.547, allocations: 1.935 MB / 3.492 GB, free: 300.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001578/5.549, allocations: 0.9862 MB / 3.493 GB, free: 300.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/5.549, allocations: 6.031 kB / 3.493 GB, free: 300.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007926/5.549, allocations: 0.603 MB / 3.494 GB, free: 300.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/5.551, allocations: 350.3 kB / 3.494 GB, free: 300.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004801/5.556, allocations: 1.863 MB / 3.496 GB, free: 299.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/5.557, allocations: 1.351 MB / 3.497 GB, free: 299 MB / 0.948 GB Notification: Performance of SimCode: time 1.132e-06/5.557, allocations: 0 / 3.497 GB, free: 299 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)