Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="IDEAS_dev_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.004559/0.004559, allocations: 180.4 kB / 7.458 MB, free: 2.188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.691/0.691, allocations: 133.5 MB / 141.4 MB, free: 15.69 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 221.3 MB / 395 MB, free: 10.27 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009402/0.0009402, allocations: 82.44 kB / 477.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5026/0.5035, allocations: 88.44 MB / 0.5529 GB, free: 89.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.7031, allocations: 82.31 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.568/5.271, allocations: 1.892 GB / 2.525 GB, free: 37.21 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/5.271, allocations: 86.64 kB / 2.525 GB, free: 37.17 MB / 0.6823 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 4.508/9.779, allocations: 1.162 GB / 3.687 GB, free: 106 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/9.779, allocations: 7.062 kB / 3.687 GB, free: 106 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002267/9.781, allocations: 455.8 kB / 3.688 GB, free: 105.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002783/9.784, allocations: 1.186 MB / 3.689 GB, free: 105.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009368/9.785, allocations: 257.1 kB / 3.689 GB, free: 105.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/9.785, allocations: 52.69 kB / 3.689 GB, free: 105.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001128/9.786, allocations: 0.6229 MB / 3.69 GB, free: 105.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/9.788, allocations: 0.9808 MB / 3.691 GB, free: 105.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/9.788, allocations: 3.188 kB / 3.691 GB, free: 105.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.098e-05/9.788, allocations: 3.688 kB / 3.691 GB, free: 105.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-05/9.788, allocations: 35.91 kB / 3.691 GB, free: 105.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006048/9.794, allocations: 5.639 MB / 3.696 GB, free: 101.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003501/9.794, allocations: 239.6 kB / 3.696 GB, free: 101.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/9.794, allocations: 143.1 kB / 3.697 GB, free: 101.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001969/9.795, allocations: 94.77 kB / 3.697 GB, free: 101.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/9.795, allocations: 45.75 kB / 3.697 GB, free: 101.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 3.486e-06/9.795, allocations: 0 / 3.697 GB, free: 101.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=20): time 0.0007824/9.795, allocations: 323.7 kB / 3.697 GB, free: 101.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/9.796, allocations: 192 kB / 3.697 GB, free: 101.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008813/9.796, allocations: 0.7507 MB / 3.698 GB, free: 101.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/9.796, allocations: 28.77 kB / 3.698 GB, free: 101 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/9.797, allocations: 492 kB / 3.698 GB, free: 100.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.844e-05/9.797, allocations: 75.67 kB / 3.699 GB, free: 100.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/9.797, allocations: 3.75 kB / 3.699 GB, free: 100.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.285e-05/9.797, allocations: 324.2 kB / 3.699 GB, free: 100.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/9.797, allocations: 147.1 kB / 3.699 GB, free: 100.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003603/9.798, allocations: 447.5 kB / 3.699 GB, free: 100.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004237/9.798, allocations: 245.9 kB / 3.7 GB, free: 100.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/9.798, allocations: 3.75 kB / 3.7 GB, free: 100.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.000956/9.799, allocations: 0.6118 MB / 3.7 GB, free: 100 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/9.799, allocations: 6.969 kB / 3.7 GB, free: 100 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/9.799, allocations: 7.625 kB / 3.7 GB, free: 100 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/9.799, allocations: 13.88 kB / 3.7 GB, free: 100 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007636/9.8, allocations: 183.4 kB / 3.7 GB, free: 100 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/9.8, allocations: 16.69 kB / 3.7 GB, free: 100 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/9.801, allocations: 242.6 kB / 3.701 GB, free: 100 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.157e-05/9.801, allocations: 34.36 kB / 3.701 GB, free: 100 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 63 * 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.0001189/9.801, allocations: 128.5 kB / 3.701 GB, free: 99.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/9.802, allocations: 101.1 kB / 3.701 GB, free: 99.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004603/9.802, allocations: 258.4 kB / 3.701 GB, free: 99.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/9.802, allocations: 5.344 kB / 3.701 GB, free: 99.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/9.802, allocations: 0 / 3.701 GB, free: 99.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/9.802, allocations: 2.844 kB / 3.701 GB, free: 99.79 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002307/9.804, allocations: 1.848 MB / 3.703 GB, free: 98.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/9.804, allocations: 3.969 kB / 3.703 GB, free: 98.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/9.805, allocations: 36.31 kB / 3.703 GB, free: 98.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/9.805, allocations: 6.438 kB / 3.703 GB, free: 98.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/9.805, allocations: 11.75 kB / 3.703 GB, free: 98.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/9.805, allocations: 7.078 kB / 3.703 GB, free: 98.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/9.805, allocations: 9.219 kB / 3.703 GB, free: 98.9 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005367/9.805, allocations: 0.6586 MB / 3.704 GB, free: 98.33 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001196/9.806, allocations: 1.183 MB / 3.705 GB, free: 97.38 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00029/9.807, allocations: 206.8 kB / 3.705 GB, free: 97.24 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/9.807, allocations: 9.281 kB / 3.705 GB, free: 97.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006547/9.808, allocations: 82.03 kB / 3.705 GB, free: 97.24 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/9.808, allocations: 25.81 kB / 3.705 GB, free: 97.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/9.808, allocations: 13.94 kB / 3.705 GB, free: 97.24 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0007386/9.808, allocations: 0.5645 MB / 3.706 GB, free: 97.13 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002829/9.811, allocations: 0.7365 MB / 3.706 GB, free: 97.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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.003898/9.815, allocations: 2.612 MB / 3.709 GB, free: 96.24 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000774/9.816, allocations: 341.5 kB / 3.709 GB, free: 96.24 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/9.816, allocations: 0 / 3.709 GB, free: 96.24 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/9.816, allocations: 100 kB / 3.709 GB, free: 96.24 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/9.818, allocations: 398.3 kB / 3.71 GB, free: 96.22 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/9.821, allocations: 1.266 MB / 3.711 GB, free: 95.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008151/9.822, allocations: 1.217 MB / 3.712 GB, free: 94.99 MB / 0.698 GB Notification: Performance of SimCode: time 4.51e-07/9.822, allocations: 0 / 3.712 GB, free: 94.99 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1)