Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.7472/0.7472, allocations: 127.4 MB / 134.6 MB, free: 4.078 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.001222/0.001223, allocations: 181.3 kB / 164.4 MB, free: 6.867 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.168 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.000933/0.000933, allocations: 87.62 kB / 476.3 MB, free: 8.918 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3667/0.3676, allocations: 82.89 MB / 0.5461 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.574, allocations: 76.74 MB / 0.621 GB, free: 13.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.68/6.254, allocations: 2.148 GB / 2.769 GB, free: 65.15 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003698/6.255, allocations: 89.22 kB / 2.769 GB, free: 65.06 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 1.063/7.317, allocations: 260.4 MB / 3.023 GB, free: 55.64 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.871e-05/7.318, allocations: 8 kB / 3.023 GB, free: 55.64 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001753/7.319, allocations: 183.1 kB / 3.023 GB, free: 55.46 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/7.321, allocations: 0.5429 MB / 3.024 GB, free: 54.87 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.365e-05/7.321, allocations: 12 kB / 3.024 GB, free: 54.86 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/7.321, allocations: 28 kB / 3.024 GB, free: 54.83 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008971/7.322, allocations: 369.9 kB / 3.024 GB, free: 54.47 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009106/7.323, allocations: 468 kB / 3.025 GB, free: 54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/7.323, allocations: 0 / 3.025 GB, free: 54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.461e-05/7.323, allocations: 4 kB / 3.025 GB, free: 54 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.383e-05/7.323, allocations: 13 kB / 3.025 GB, free: 53.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003144/7.326, allocations: 1.637 MB / 3.026 GB, free: 52.23 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/7.326, allocations: 194.5 kB / 3.026 GB, free: 52.03 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/7.327, allocations: 149.2 kB / 3.027 GB, free: 51.88 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002969/7.327, allocations: 178.2 kB / 3.027 GB, free: 51.67 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/7.327, allocations: 50.42 kB / 3.027 GB, free: 51.61 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=26): time 2.855e-06/7.327, allocations: 4 kB / 3.027 GB, free: 51.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=27): time 0.00212/7.329, allocations: 0.7934 MB / 3.028 GB, free: 50.76 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/7.329, allocations: 55.64 kB / 3.028 GB, free: 50.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004278/7.33, allocations: 306 kB / 3.028 GB, free: 50.39 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.145e-05/7.33, allocations: 25.7 kB / 3.028 GB, free: 50.36 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/7.33, allocations: 235.7 kB / 3.028 GB, free: 50.12 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.137e-05/7.33, allocations: 102.5 kB / 3.028 GB, free: 50.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.558e-05/7.33, allocations: 0 / 3.028 GB, free: 50.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001213/7.33, allocations: 342.8 kB / 3.029 GB, free: 49.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/7.33, allocations: 112.5 kB / 3.029 GB, free: 49.56 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/7.33, allocations: 190.4 kB / 3.029 GB, free: 49.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/7.331, allocations: 143.8 kB / 3.029 GB, free: 49.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/7.331, allocations: 0 / 3.029 GB, free: 49.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005147/7.331, allocations: 357 kB / 3.029 GB, free: 48.85 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/7.331, allocations: 8 kB / 3.029 GB, free: 48.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/7.331, allocations: 7.922 kB / 3.029 GB, free: 48.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/7.331, allocations: 4 kB / 3.029 GB, free: 48.83 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/7.332, allocations: 63.92 kB / 3.029 GB, free: 48.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/7.332, allocations: 7.984 kB / 3.029 GB, free: 48.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004802/7.332, allocations: 24.08 kB / 3.03 GB, free: 48.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.284e-05/7.332, allocations: 16 kB / 3.03 GB, free: 48.72 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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 0.0001469/7.332, allocations: 112.9 kB / 3.03 GB, free: 48.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.9e-05/7.332, allocations: 39.53 kB / 3.03 GB, free: 48.56 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/7.333, allocations: 44.3 kB / 3.03 GB, free: 48.52 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/7.333, allocations: 7.906 kB / 3.03 GB, free: 48.51 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/7.333, allocations: 4 kB / 3.03 GB, free: 48.51 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004026/7.333, allocations: 352.4 kB / 3.03 GB, free: 48.13 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/7.334, allocations: 0.9869 MB / 3.031 GB, free: 47.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/7.334, allocations: 48 / 3.031 GB, free: 47.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000358/7.335, allocations: 67.95 kB / 3.031 GB, free: 47 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/7.335, allocations: 7.938 kB / 3.031 GB, free: 47 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/7.335, allocations: 7.984 kB / 3.031 GB, free: 46.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.341e-06/7.335, allocations: 8 kB / 3.031 GB, free: 46.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/7.335, allocations: 4 kB / 3.031 GB, free: 46.98 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007273/7.336, allocations: 0.7263 MB / 3.032 GB, free: 46.14 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001092/7.337, allocations: 1.287 MB / 3.033 GB, free: 44.75 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002188/7.337, allocations: 156.6 kB / 3.033 GB, free: 44.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-05/7.337, allocations: 7.984 kB / 3.033 GB, free: 44.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004879/7.338, allocations: 24.05 kB / 3.033 GB, free: 44.54 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/7.338, allocations: 23.88 kB / 3.033 GB, free: 44.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.039e-05/7.338, allocations: 12 kB / 3.033 GB, free: 44.51 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0002246/7.338, allocations: 244.6 kB / 3.034 GB, free: 44.27 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001609/7.34, allocations: 288 kB / 3.034 GB, free: 43.99 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * 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.001834/7.341, allocations: 1.089 MB / 3.035 GB, free: 42.89 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004561/7.342, allocations: 268 kB / 3.035 GB, free: 42.63 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/7.342, allocations: 0 / 3.035 GB, free: 42.63 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001603/7.342, allocations: 135.8 kB / 3.035 GB, free: 42.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/7.343, allocations: 237 kB / 3.035 GB, free: 42.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/7.345, allocations: 0.7848 MB / 3.036 GB, free: 41.43 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000637/7.346, allocations: 0.9437 MB / 3.037 GB, free: 40.45 MB / 0.6355 GB Notification: Performance of SimCode: time 2.81e-07/7.346, allocations: 4 kB / 3.037 GB, free: 40.45 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)