Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.485/2.485, allocations: 284.8 MB / 292.1 MB, free: 10.79 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.001621/0.001621, allocations: 181.2 kB / 360.3 MB, free: 7.574 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.796/1.796, allocations: 205.2 MB / 0.6187 GB, free: 13.21 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.0013/0.001299, allocations: 102.7 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.275/0.2763, allocations: 121.4 MB / 0.8502 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6727/0.9491, allocations: 115.2 MB / 0.9627 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.954/5.904, allocations: 2.1 GB / 3.063 GB, free: 18.62 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/5.904, allocations: 87.34 kB / 3.063 GB, free: 18.57 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.892/7.796, allocations: 406.4 MB / 3.46 GB, free: 84 kB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/7.796, allocations: 12.44 kB / 3.46 GB, free: 72 kB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.383/8.179, allocations: 415.5 kB / 3.46 GB, free: 315.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004326/8.183, allocations: 1.163 MB / 3.461 GB, free: 314.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.734e-05/8.183, allocations: 42.47 kB / 3.461 GB, free: 314.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002501/8.184, allocations: 71.53 kB / 3.461 GB, free: 314.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004143/8.188, allocations: 1.386 MB / 3.463 GB, free: 314.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004041/8.192, allocations: 1.21 MB / 3.464 GB, free: 314.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.579e-05/8.192, allocations: 3.219 kB / 3.464 GB, free: 314.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002321/8.192, allocations: 3.781 kB / 3.464 GB, free: 314.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.193e-05/8.192, allocations: 32.38 kB / 3.464 GB, free: 314.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01165/8.204, allocations: 4.647 MB / 3.469 GB, free: 312.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002686/8.207, allocations: 1.164 MB / 3.47 GB, free: 312.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/8.208, allocations: 433.8 kB / 3.47 GB, free: 312.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/8.209, allocations: 0.5019 MB / 3.471 GB, free: 312 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001382/8.21, allocations: 0.595 MB / 3.471 GB, free: 312 MB / 0.948 GB Notification: Performance of pre-optimization done (n=98): time 3.527e-06/8.21, allocations: 0 / 3.471 GB, free: 312 MB / 0.948 GB Notification: Performance of matching and sorting (n=98): time 0.005342/8.215, allocations: 1.138 MB / 3.472 GB, free: 311.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.987e-05/8.216, allocations: 251.5 kB / 3.473 GB, free: 311.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/8.217, allocations: 0.6133 MB / 3.473 GB, free: 311.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003198/8.217, allocations: 29.3 kB / 3.473 GB, free: 311.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004456/8.218, allocations: 461.4 kB / 3.474 GB, free: 311.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004301/8.218, allocations: 314 kB / 3.474 GB, free: 311 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.778e-05/8.218, allocations: 0 / 3.474 GB, free: 311 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.826e-05/8.219, allocations: 344.3 kB / 3.474 GB, free: 310.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008819/8.219, allocations: 333.8 kB / 3.475 GB, free: 310.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/8.22, allocations: 0.5149 MB / 3.475 GB, free: 310.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002061/8.223, allocations: 0.5019 MB / 3.476 GB, free: 310.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.066e-06/8.223, allocations: 3.906 kB / 3.476 GB, free: 310.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.004559/8.227, allocations: 1.133 MB / 3.477 GB, free: 310.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/8.227, allocations: 9.688 kB / 3.477 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/8.227, allocations: 3.875 kB / 3.477 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/8.228, allocations: 93.36 kB / 3.477 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002258/8.231, allocations: 231.5 kB / 3.477 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002904/8.234, allocations: 1.467 MB / 3.478 GB, free: 309.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/8.236, allocations: 104.8 kB / 3.479 GB, free: 309.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/8.236, allocations: 43.09 kB / 3.479 GB, free: 309.2 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.0003992/8.236, allocations: 123.8 kB / 3.479 GB, free: 309.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003185/8.236, allocations: 105.7 kB / 3.479 GB, free: 309 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005859/8.242, allocations: 1.404 MB / 3.48 GB, free: 308.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/8.242, allocations: 14.28 kB / 3.48 GB, free: 308.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/8.242, allocations: 3.25 kB / 3.48 GB, free: 308.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/8.242, allocations: 7.641 kB / 3.48 GB, free: 308.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008629/8.251, allocations: 2.563 MB / 3.483 GB, free: 308.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/8.251, allocations: 0 / 3.483 GB, free: 308.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0026/8.254, allocations: 225 kB / 3.483 GB, free: 308.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001337/8.255, allocations: 85.72 kB / 3.483 GB, free: 308.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002803/8.255, allocations: 15.03 kB / 3.483 GB, free: 308.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002725/8.258, allocations: 1.488 MB / 3.484 GB, free: 307.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/8.258, allocations: 0 / 3.484 GB, free: 307.4 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005029/8.263, allocations: 1.258 MB / 3.486 GB, free: 307.1 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005191/8.269, allocations: 1.734 MB / 3.487 GB, free: 306.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/8.27, allocations: 357.3 kB / 3.488 GB, free: 306.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002794/8.27, allocations: 11.5 kB / 3.488 GB, free: 306.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001792/8.272, allocations: 86.34 kB / 3.488 GB, free: 306.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/8.272, allocations: 60.47 kB / 3.488 GB, free: 306.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/8.272, allocations: 45.16 kB / 3.488 GB, free: 306.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0009794/8.273, allocations: 497.1 kB / 3.488 GB, free: 306.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003762/8.277, allocations: 0.7351 MB / 3.489 GB, free: 306.3 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.003649/8.281, allocations: 1.931 MB / 3.491 GB, free: 305.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002929/8.284, allocations: 0.9858 MB / 3.492 GB, free: 305.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.036e-06/8.284, allocations: 4.25 kB / 3.492 GB, free: 305.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002447/8.286, allocations: 0.6106 MB / 3.493 GB, free: 305.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00542/8.292, allocations: 347.2 kB / 3.493 GB, free: 305.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/8.305, allocations: 1.862 MB / 3.495 GB, free: 305.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002608/8.307, allocations: 1.353 MB / 3.496 GB, free: 304.6 MB / 0.948 GB Notification: Performance of SimCode: time 2.325e-06/8.307, allocations: 3.062 kB / 3.496 GB, free: 304.6 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)