Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.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.MoistureMixingConservationSteadyState,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",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.6991/0.6991, allocations: 127.3 MB / 134.6 MB, free: 4.086 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.001244/0.001244, allocations: 185.3 kB / 164.4 MB, free: 6.895 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.64/1.64, allocations: 205.1 MB / 399.1 MB, free: 6.09 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.001045/0.001045, allocations: 94.83 kB / 476.3 MB, free: 8.848 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3054/0.3065, allocations: 82.88 MB / 0.546 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.483, allocations: 76.75 MB / 0.621 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.536/6.019, allocations: 2.161 GB / 2.782 GB, free: 50.54 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/6.02, allocations: 91.94 kB / 2.782 GB, free: 50.45 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: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 5.061/11.08, allocations: 1.133 GB / 3.916 GB, free: 90.34 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/11.08, allocations: 7.875 kB / 3.916 GB, free: 90.34 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002551/11.08, allocations: 409 kB / 3.916 GB, free: 90.27 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002684/11.09, allocations: 0.9103 MB / 3.917 GB, free: 89.99 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009741/11.09, allocations: 261 kB / 3.917 GB, free: 89.99 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002864/11.09, allocations: 56.56 kB / 3.917 GB, free: 89.99 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001585/11.09, allocations: 0.6392 MB / 3.918 GB, free: 89.99 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/11.09, allocations: 0.9547 MB / 3.919 GB, free: 89.71 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/11.09, allocations: 6.125 kB / 3.919 GB, free: 89.71 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/11.09, allocations: 7.625 kB / 3.919 GB, free: 89.71 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.823e-05/11.09, allocations: 38.66 kB / 3.919 GB, free: 89.71 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007323/11.1, allocations: 5.108 MB / 3.924 GB, free: 86.67 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004175/11.1, allocations: 219.1 kB / 3.924 GB, free: 86.62 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/11.1, allocations: 111.9 kB / 3.924 GB, free: 86.61 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001954/11.1, allocations: 106.9 kB / 3.924 GB, free: 86.52 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/11.1, allocations: 33.5 kB / 3.925 GB, free: 86.48 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=20): time 4.158e-06/11.1, allocations: 2.812 kB / 3.925 GB, free: 86.48 MB / 0.6667 GB Notification: Performance of matching and sorting (n=20): time 0.0009227/11.1, allocations: 314.2 kB / 3.925 GB, free: 86.39 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/11.1, allocations: 83.86 kB / 3.925 GB, free: 86.3 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/11.1, allocations: 0.7411 MB / 3.926 GB, free: 86.16 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.302e-05/11.1, allocations: 29.39 kB / 3.926 GB, free: 86.12 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002879/11.1, allocations: 493.4 kB / 3.926 GB, free: 85.84 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.258e-05/11.1, allocations: 74.45 kB / 3.926 GB, free: 85.8 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/11.1, allocations: 0 / 3.926 GB, free: 85.8 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.604e-05/11.1, allocations: 329 kB / 3.927 GB, free: 85.49 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/11.1, allocations: 155.3 kB / 3.927 GB, free: 85.49 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003803/11.1, allocations: 453.7 kB / 3.927 GB, free: 85.13 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000572/11.1, allocations: 263.2 kB / 3.927 GB, free: 85.12 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/11.1, allocations: 6.406 kB / 3.927 GB, free: 85.12 MB / 0.6667 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001332/11.11, allocations: 0.6344 MB / 3.928 GB, free: 85.04 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/11.11, allocations: 7.594 kB / 3.928 GB, free: 85.04 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/11.11, allocations: 10.41 kB / 3.928 GB, free: 85.04 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.213e-05/11.11, allocations: 14.25 kB / 3.928 GB, free: 85.04 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008337/11.11, allocations: 184 kB / 3.928 GB, free: 85.04 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.002e-05/11.11, allocations: 22.22 kB / 3.928 GB, free: 85.04 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/11.11, allocations: 236.2 kB / 3.928 GB, free: 85.01 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/11.11, allocations: 41.8 kB / 3.928 GB, free: 85.01 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 1 (senMasFra.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * 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.0001579/11.11, allocations: 136.1 kB / 3.929 GB, free: 84.89 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002192/11.11, allocations: 89.53 kB / 3.929 GB, free: 84.84 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000629/11.11, allocations: 297.4 kB / 3.929 GB, free: 84.79 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/11.11, allocations: 3.438 kB / 3.929 GB, free: 84.79 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/11.11, allocations: 3.688 kB / 3.929 GB, free: 84.79 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/11.11, allocations: 3.219 kB / 3.929 GB, free: 84.79 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002596/11.11, allocations: 1.42 MB / 3.93 GB, free: 84.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/11.11, allocations: 3.281 kB / 3.93 GB, free: 84.29 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/11.11, allocations: 39.42 kB / 3.93 GB, free: 84.29 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/11.11, allocations: 7.25 kB / 3.93 GB, free: 84.29 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/11.11, allocations: 6.844 kB / 3.93 GB, free: 84.29 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.732e-06/11.11, allocations: 10.56 kB / 3.93 GB, free: 84.29 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/11.11, allocations: 9.594 kB / 3.93 GB, free: 84.29 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006431/11.11, allocations: 0.72 MB / 3.931 GB, free: 83.67 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001236/11.11, allocations: 1.225 MB / 3.932 GB, free: 82.68 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003829/11.11, allocations: 215.4 kB / 3.933 GB, free: 82.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/11.11, allocations: 7.875 kB / 3.933 GB, free: 82.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007849/11.12, allocations: 83.39 kB / 3.933 GB, free: 82.54 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.954e-05/11.12, allocations: 26.22 kB / 3.933 GB, free: 82.53 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/11.12, allocations: 13.62 kB / 3.933 GB, free: 82.53 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0008313/11.12, allocations: 0.5632 MB / 3.933 GB, free: 82.42 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003408/11.12, allocations: 0.7309 MB / 3.934 GB, free: 82.37 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.004737/11.12, allocations: 2.655 MB / 3.937 GB, free: 81.48 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0008942/11.13, allocations: 381.4 kB / 3.937 GB, free: 81.45 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/11.13, allocations: 0 / 3.937 GB, free: 81.45 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001536/11.13, allocations: 110.5 kB / 3.937 GB, free: 81.45 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/11.13, allocations: 383 kB / 3.937 GB, free: 81.43 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002876/11.13, allocations: 1.251 MB / 3.939 GB, free: 80.93 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009242/11.13, allocations: 1.204 MB / 3.94 GB, free: 80.23 MB / 0.6667 GB Notification: Performance of SimCode: time 4.11e-07/11.13, allocations: 0 / 3.94 GB, free: 80.23 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1)