Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7544/0.7544, allocations: 127.4 MB / 134.6 MB, free: 4.059 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001321/0.001321, allocations: 189.3 kB / 164.4 MB, free: 6.855 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.913/1.913, allocations: 205.1 MB / 399.1 MB, free: 6.07 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 85.77 kB / 476.3 MB, free: 8.832 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3519/0.3529, allocations: 82.88 MB / 0.546 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.5356, allocations: 76.75 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.21/1.746, allocations: 323.7 MB / 0.9371 GB, free: 166.3 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/1.746, allocations: 83.77 kB / 0.9372 GB, free: 166.3 MB / 0.6198 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.1377/1.884, allocations: 71.29 MB / 1.007 GB, free: 97.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/1.884, allocations: 8 kB / 1.007 GB, free: 97.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.841e-05/1.884, allocations: 15.81 kB / 1.007 GB, free: 97.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/1.884, allocations: 243.4 kB / 1.007 GB, free: 97.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/1.884, allocations: 4 kB / 1.007 GB, free: 97.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/1.884, allocations: 8 kB / 1.007 GB, free: 97.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001798/1.884, allocations: 55.92 kB / 1.007 GB, free: 97.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/1.885, allocations: 115.2 kB / 1.007 GB, free: 96.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/1.885, allocations: 0 / 1.007 GB, free: 96.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/1.885, allocations: 4 kB / 1.007 GB, free: 96.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/1.885, allocations: 0 / 1.007 GB, free: 96.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/1.886, allocations: 0.8071 MB / 1.008 GB, free: 95.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.449e-05/1.886, allocations: 30.52 kB / 1.008 GB, free: 95.94 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.208e-05/1.886, allocations: 12.92 kB / 1.008 GB, free: 95.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-06/1.886, allocations: 0 / 1.008 GB, free: 95.92 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/1.886, allocations: 34.56 kB / 1.008 GB, free: 95.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/1.886, allocations: 0 / 1.008 GB, free: 95.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000204/1.886, allocations: 57.5 kB / 1.008 GB, free: 95.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/1.886, allocations: 51.41 kB / 1.008 GB, free: 95.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/1.886, allocations: 150 kB / 1.008 GB, free: 95.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/1.886, allocations: 29.7 kB / 1.008 GB, free: 95.56 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.994e-05/1.887, allocations: 123.8 kB / 1.009 GB, free: 95.44 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.394e-06/1.887, allocations: 7.938 kB / 1.009 GB, free: 95.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/1.887, allocations: 0 / 1.009 GB, free: 95.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.776e-05/1.887, allocations: 330.8 kB / 1.009 GB, free: 95.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.047e-05/1.887, allocations: 12 kB / 1.009 GB, free: 95.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.698e-05/1.887, allocations: 57.14 kB / 1.009 GB, free: 95.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/1.887, allocations: 35.97 kB / 1.009 GB, free: 94.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.887, allocations: 8 kB / 1.009 GB, free: 94.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002435/1.887, allocations: 85.52 kB / 1.009 GB, free: 94.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/1.887, allocations: 4 kB / 1.009 GB, free: 94.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/1.887, allocations: 0 / 1.009 GB, free: 94.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/1.887, allocations: 0 / 1.009 GB, free: 94.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/1.887, allocations: 23.92 kB / 1.009 GB, free: 94.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/1.887, allocations: 15.98 kB / 1.009 GB, free: 94.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/1.888, allocations: 11.98 kB / 1.009 GB, free: 94.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/1.888, allocations: 8 kB / 1.009 GB, free: 94.82 MB / 0.6198 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 (6): * Single equations (assignments): 6 * 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.89e-05/1.888, allocations: 108.9 kB / 1.009 GB, free: 94.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/1.888, allocations: 11.81 kB / 1.009 GB, free: 94.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.206e-05/1.888, allocations: 20.62 kB / 1.009 GB, free: 94.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/1.888, allocations: 0 / 1.009 GB, free: 94.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-06/1.888, allocations: 0 / 1.009 GB, free: 94.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/1.888, allocations: 4 kB / 1.009 GB, free: 94.67 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/1.888, allocations: 178 kB / 1.009 GB, free: 94.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/1.888, allocations: 4 kB / 1.009 GB, free: 94.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.567e-05/1.888, allocations: 8 kB / 1.009 GB, free: 94.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/1.888, allocations: 0 / 1.009 GB, free: 94.45 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/1.888, allocations: 7.984 kB / 1.009 GB, free: 94.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/1.888, allocations: 0 / 1.009 GB, free: 94.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.888, allocations: 0 / 1.009 GB, free: 94.44 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001261/1.888, allocations: 147.4 kB / 1.01 GB, free: 94.28 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002095/1.888, allocations: 0.531 MB / 1.01 GB, free: 93.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.357e-05/1.889, allocations: 93 kB / 1.01 GB, free: 93.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/1.889, allocations: 0 / 1.01 GB, free: 93.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/1.889, allocations: 11.98 kB / 1.01 GB, free: 93.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/1.889, allocations: 3.906 kB / 1.01 GB, free: 93.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/1.889, allocations: 0 / 1.01 GB, free: 93.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.115e-05/1.889, allocations: 132.3 kB / 1.01 GB, free: 93.47 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009666/1.89, allocations: 71.92 kB / 1.01 GB, free: 93.4 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0005907/1.89, allocations: 237.4 kB / 1.011 GB, free: 93.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001577/1.891, allocations: 39.92 kB / 1.011 GB, free: 93.13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.891, allocations: 0 / 1.011 GB, free: 93.13 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.432e-05/1.891, allocations: 4 kB / 1.011 GB, free: 93.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/1.891, allocations: 44.31 kB / 1.011 GB, free: 93.08 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004004/1.891, allocations: 147.9 kB / 1.011 GB, free: 92.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002577/1.892, allocations: 0.7422 MB / 1.012 GB, free: 92.15 MB / 0.6198 GB Notification: Performance of SimCode: time 1.032e-06/1.892, allocations: 0 / 1.012 GB, free: 92.15 MB / 0.6198 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1)