Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",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.1.4-maint.8.1.x/package.mo): time 1.759/1.759, allocations: 289.8 MB / 297.1 MB, free: 6.699 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.001142/0.001142, allocations: 181.3 kB / 366.3 MB, free: 2.016 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.867/1.867, allocations: 205.1 MB / 0.6256 GB, free: 5.852 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.0009323/0.0009322, allocations: 89.16 kB / 0.7396 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3241/0.3251, allocations: 122.4 MB / 0.8591 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8505/1.176, allocations: 116.3 MB / 0.9726 GB, free: 68.11 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9987/2.174, allocations: 365.4 MB / 1.329 GB, free: 124.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/2.175, allocations: 83.45 kB / 1.33 GB, free: 124.9 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.1407/2.315, allocations: 72.57 MB / 1.4 GB, free: 66.59 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/2.315, allocations: 8 kB / 1.4 GB, free: 66.59 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.723e-05/2.315, allocations: 23.81 kB / 1.4 GB, free: 66.56 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/2.316, allocations: 238.6 kB / 1.401 GB, free: 66.29 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/2.316, allocations: 4 kB / 1.401 GB, free: 66.29 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/2.316, allocations: 15.88 kB / 1.401 GB, free: 66.27 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001593/2.316, allocations: 51.98 kB / 1.401 GB, free: 66.22 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/2.316, allocations: 113.2 kB / 1.401 GB, free: 66.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/2.316, allocations: 0 / 1.401 GB, free: 66.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/2.316, allocations: 0 / 1.401 GB, free: 66.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/2.316, allocations: 4 kB / 1.401 GB, free: 66.09 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007148/2.317, allocations: 0.4914 MB / 1.401 GB, free: 65.57 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/2.317, allocations: 77.14 kB / 1.401 GB, free: 65.47 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.055e-05/2.317, allocations: 41.83 kB / 1.401 GB, free: 65.43 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003026/2.318, allocations: 336.4 kB / 1.402 GB, free: 65.02 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/2.318, allocations: 34.56 kB / 1.402 GB, free: 64.98 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 2.244e-06/2.318, allocations: 3.938 kB / 1.402 GB, free: 64.98 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0003743/2.318, allocations: 101.4 kB / 1.402 GB, free: 64.87 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/2.318, allocations: 81.11 kB / 1.402 GB, free: 64.77 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/2.318, allocations: 137.5 kB / 1.402 GB, free: 64.63 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/2.318, allocations: 25.7 kB / 1.402 GB, free: 64.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.562e-05/2.318, allocations: 112 kB / 1.402 GB, free: 64.49 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/2.318, allocations: 23.66 kB / 1.402 GB, free: 64.46 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/2.318, allocations: 0 / 1.402 GB, free: 64.46 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.166e-05/2.318, allocations: 318.9 kB / 1.403 GB, free: 64.14 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.509e-05/2.318, allocations: 27.98 kB / 1.403 GB, free: 64.12 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.216e-05/2.318, allocations: 57.2 kB / 1.403 GB, free: 64.04 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/2.319, allocations: 43.95 kB / 1.403 GB, free: 64 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/2.319, allocations: 0 / 1.403 GB, free: 64 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002168/2.319, allocations: 105.5 kB / 1.403 GB, free: 63.89 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/2.319, allocations: 8 kB / 1.403 GB, free: 63.88 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/2.319, allocations: 4 kB / 1.403 GB, free: 63.88 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/2.319, allocations: 0 / 1.403 GB, free: 63.88 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/2.319, allocations: 23.92 kB / 1.403 GB, free: 63.86 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/2.319, allocations: 4 kB / 1.403 GB, free: 63.85 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/2.319, allocations: 16.05 kB / 1.403 GB, free: 63.84 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/2.319, allocations: 8 kB / 1.403 GB, free: 63.83 MB / 0.823 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 (7): * Single equations (assignments): 7 * 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 6.511e-05/2.319, allocations: 111 kB / 1.403 GB, free: 63.71 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.357e-05/2.319, allocations: 11.91 kB / 1.403 GB, free: 63.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/2.32, allocations: 130.5 kB / 1.403 GB, free: 63.57 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/2.32, allocations: 8 kB / 1.403 GB, free: 63.57 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/2.32, allocations: 7.922 kB / 1.403 GB, free: 63.56 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/2.32, allocations: 0 / 1.403 GB, free: 63.56 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005257/2.32, allocations: 425.5 kB / 1.404 GB, free: 63.09 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/2.32, allocations: 0 / 1.404 GB, free: 63.09 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/2.32, allocations: 28.02 kB / 1.404 GB, free: 63.06 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/2.32, allocations: 4 kB / 1.404 GB, free: 63.06 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/2.32, allocations: 0 / 1.404 GB, free: 63.06 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/2.32, allocations: 8.141 kB / 1.404 GB, free: 63.05 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/2.32, allocations: 3.938 kB / 1.404 GB, free: 63.05 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003079/2.321, allocations: 360 kB / 1.404 GB, free: 62.64 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003798/2.321, allocations: 0.7346 MB / 1.405 GB, free: 61.86 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.183e-05/2.321, allocations: 100.9 kB / 1.405 GB, free: 61.74 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/2.321, allocations: 4 kB / 1.405 GB, free: 61.73 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/2.321, allocations: 15.92 kB / 1.405 GB, free: 61.72 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/2.321, allocations: 11.89 kB / 1.405 GB, free: 61.71 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-06/2.321, allocations: 7.938 kB / 1.405 GB, free: 61.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.041e-05/2.322, allocations: 120.3 kB / 1.405 GB, free: 61.58 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001173/2.323, allocations: 71.92 kB / 1.405 GB, free: 61.51 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0006333/2.323, allocations: 229.6 kB / 1.405 GB, free: 61.29 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002081/2.324, allocations: 68.11 kB / 1.405 GB, free: 61.22 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/2.324, allocations: 7.938 kB / 1.405 GB, free: 61.21 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.889e-05/2.324, allocations: 51.91 kB / 1.405 GB, free: 61.16 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004868/2.324, allocations: 44.25 kB / 1.405 GB, free: 61.12 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004915/2.325, allocations: 215.8 kB / 1.406 GB, free: 60.87 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/2.325, allocations: 0.7547 MB / 1.406 GB, free: 60.09 MB / 0.823 GB Notification: Performance of SimCode: time 3.71e-07/2.325, allocations: 0 / 1.406 GB, free: 60.09 MB / 0.823 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > Buildings_8_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1)