Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.142/2.142, allocations: 387.2 MB / 394.5 MB, free: 13.65 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001075, allocations: 177.3 kB / 487 MB, free: 5.363 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 221.3 MB / 0.7819 GB, free: 1.383 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 89.98 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6322/0.6335, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.9126, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9539/1.867, allocations: 375.8 MB / 1.572 GB, free: 14.82 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/1.867, allocations: 79.2 kB / 1.572 GB, free: 14.78 MB / 1.01 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.1627/2.03, allocations: 74.04 MB / 1.645 GB, free: 13.5 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/2.03, allocations: 9 kB / 1.645 GB, free: 13.49 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.954e-05/2.03, allocations: 19.81 kB / 1.645 GB, free: 13.47 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004258/2.03, allocations: 247 kB / 1.645 GB, free: 13.19 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/2.03, allocations: 4 kB / 1.645 GB, free: 13.18 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/2.03, allocations: 12 kB / 1.645 GB, free: 13.17 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001725/2.031, allocations: 55.98 kB / 1.645 GB, free: 13.12 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/2.031, allocations: 103.4 kB / 1.645 GB, free: 13 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/2.031, allocations: 0 / 1.645 GB, free: 13 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/2.031, allocations: 3.984 kB / 1.645 GB, free: 13 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/2.031, allocations: 4 kB / 1.645 GB, free: 13 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007472/2.032, allocations: 0.513 MB / 1.646 GB, free: 12.45 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/2.032, allocations: 73.14 kB / 1.646 GB, free: 12.36 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.446e-05/2.032, allocations: 45.83 kB / 1.646 GB, free: 12.3 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003091/2.032, allocations: 336.5 kB / 1.646 GB, free: 11.9 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/2.032, allocations: 38.56 kB / 1.646 GB, free: 11.86 MB / 1.073 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/2.032, allocations: 0 / 1.646 GB, free: 11.86 MB / 1.073 GB Notification: Performance of matching and sorting (n=7): time 0.000368/2.032, allocations: 101.4 kB / 1.646 GB, free: 11.75 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/2.033, allocations: 77.11 kB / 1.646 GB, free: 11.66 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/2.033, allocations: 141.5 kB / 1.646 GB, free: 11.51 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/2.033, allocations: 25.7 kB / 1.646 GB, free: 11.48 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/2.033, allocations: 108 kB / 1.647 GB, free: 11.37 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/2.033, allocations: 27.64 kB / 1.647 GB, free: 11.34 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/2.033, allocations: 0 / 1.647 GB, free: 11.34 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.000124/2.033, allocations: 322.8 kB / 1.647 GB, free: 11.02 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.938e-05/2.033, allocations: 16 kB / 1.647 GB, free: 11 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.77e-05/2.033, allocations: 73.06 kB / 1.647 GB, free: 10.91 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/2.033, allocations: 35.91 kB / 1.647 GB, free: 10.88 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/2.033, allocations: 0 / 1.647 GB, free: 10.88 MB / 1.073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002373/2.033, allocations: 101.4 kB / 1.647 GB, free: 10.77 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/2.033, allocations: 8 kB / 1.647 GB, free: 10.77 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/2.033, allocations: 0 / 1.647 GB, free: 10.77 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/2.033, allocations: 4.062 kB / 1.647 GB, free: 10.76 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/2.034, allocations: 23.97 kB / 1.647 GB, free: 10.74 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/2.034, allocations: 4 kB / 1.647 GB, free: 10.73 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/2.034, allocations: 19.98 kB / 1.647 GB, free: 10.71 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/2.034, allocations: 4 kB / 1.647 GB, free: 10.71 MB / 1.073 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 8.127e-05/2.034, allocations: 107.7 kB / 1.647 GB, free: 10.6 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.384e-05/2.034, allocations: 15.81 kB / 1.647 GB, free: 10.59 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003147/2.034, allocations: 134.5 kB / 1.647 GB, free: 10.45 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.767e-05/2.034, allocations: 7.906 kB / 1.647 GB, free: 10.44 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/2.034, allocations: 0 / 1.647 GB, free: 10.44 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/2.034, allocations: 0 / 1.647 GB, free: 10.44 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006676/2.035, allocations: 429.4 kB / 1.648 GB, free: 9.969 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/2.035, allocations: 96 / 1.648 GB, free: 9.969 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/2.035, allocations: 23.98 kB / 1.648 GB, free: 9.945 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/2.035, allocations: 3.984 kB / 1.648 GB, free: 9.941 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/2.035, allocations: 12.08 kB / 1.648 GB, free: 9.93 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/2.035, allocations: 3.906 kB / 1.648 GB, free: 9.926 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/2.035, allocations: 0 / 1.648 GB, free: 9.926 MB / 1.073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004275/2.036, allocations: 363.9 kB / 1.648 GB, free: 9.52 MB / 1.073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005965/2.036, allocations: 0.7308 MB / 1.649 GB, free: 8.734 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.664e-05/2.036, allocations: 104.8 kB / 1.649 GB, free: 8.613 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/2.037, allocations: 0 / 1.649 GB, free: 8.613 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/2.037, allocations: 19.98 kB / 1.649 GB, free: 8.594 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/2.037, allocations: 7.906 kB / 1.649 GB, free: 8.586 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/2.037, allocations: 4.125 kB / 1.649 GB, free: 8.582 MB / 1.073 GB Notification: Performance of sort global known variables: time 0.0001054/2.037, allocations: 120.2 kB / 1.649 GB, free: 8.465 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.001061/2.038, allocations: 75.92 kB / 1.649 GB, free: 8.391 MB / 1.073 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.0005881/2.039, allocations: 215.6 kB / 1.649 GB, free: 8.176 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0001819/2.039, allocations: 79.84 kB / 1.649 GB, free: 8.098 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/2.039, allocations: 0 / 1.649 GB, free: 8.098 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 9.124e-05/2.039, allocations: 47.92 kB / 1.65 GB, free: 8.051 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/2.039, allocations: 50.19 kB / 1.65 GB, free: 8.004 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005578/2.04, allocations: 231.4 kB / 1.65 GB, free: 7.742 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004801/2.04, allocations: 0.743 MB / 1.651 GB, free: 6.973 MB / 1.073 GB Notification: Performance of SimCode: time 4.21e-07/2.04, allocations: 0 / 1.651 GB, free: 6.973 MB / 1.073 GB (rm -f Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1)