Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.001168/0.001168, allocations: 191.8 kB / 7.807 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4648/0.4648, allocations: 90.85 MB / 99.07 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 221.4 MB / 342.8 MB, free: 5.227 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 104.3 kB / 415.5 MB, free: 9.883 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1929/0.1941, allocations: 78.45 MB / 494 MB, free: 11.5 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.455/0.6491, allocations: 72.29 MB / 0.553 GB, free: 44.81 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.674/4.323, allocations: 1.873 GB / 2.426 GB, free: 190.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/4.323, allocations: 84.55 kB / 2.426 GB, free: 190.3 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 1.761/6.084, allocations: 0.5731 GB / 2.999 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/6.084, allocations: 12 kB / 2.999 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002593/6.087, allocations: 338.3 kB / 2.999 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002052/6.089, allocations: 0.8171 MB / 3 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003569/6.089, allocations: 113.9 kB / 3 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002477/6.089, allocations: 48 kB / 3 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001391/6.091, allocations: 0.699 MB / 3.001 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/6.092, allocations: 0.8864 MB / 3.002 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/6.092, allocations: 3.984 kB / 3.002 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/6.093, allocations: 4 kB / 3.002 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.68e-05/6.093, allocations: 30 kB / 3.002 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005614/6.098, allocations: 3.972 MB / 3.006 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004247/6.099, allocations: 254.1 kB / 3.006 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/6.099, allocations: 204.1 kB / 3.006 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002001/6.099, allocations: 97.09 kB / 3.006 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/6.099, allocations: 42.56 kB / 3.006 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 3.086e-06/6.099, allocations: 0 / 3.006 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=38): time 0.002898/6.102, allocations: 1.111 MB / 3.007 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/6.102, allocations: 59.34 kB / 3.007 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/6.103, allocations: 0.5739 MB / 3.008 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/6.103, allocations: 25.7 kB / 3.008 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003145/6.104, allocations: 410.4 kB / 3.008 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/6.104, allocations: 130 kB / 3.008 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/6.104, allocations: 4 kB / 3.008 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001744/6.104, allocations: 382.7 kB / 3.009 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003494/6.104, allocations: 193.2 kB / 3.009 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004457/6.105, allocations: 371.1 kB / 3.009 GB, free: 55.29 MB / 0.6042 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002109/6.107, allocations: 0.7187 MB / 3.01 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/6.107, allocations: 0 / 3.01 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001142/6.108, allocations: 0.6367 MB / 3.011 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/6.108, allocations: 4 kB / 3.011 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/6.108, allocations: 4 kB / 3.011 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/6.108, allocations: 8 kB / 3.011 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006014/6.109, allocations: 148.2 kB / 3.011 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/6.109, allocations: 11.94 kB / 3.011 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/6.11, allocations: 87.77 kB / 3.011 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-05/6.11, allocations: 27.91 kB / 3.011 GB, free: 53.63 MB / 0.6042 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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.000173/6.11, allocations: 128.8 kB / 3.011 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/6.11, allocations: 71.16 kB / 3.011 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/6.111, allocations: 78.78 kB / 3.011 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/6.111, allocations: 7.906 kB / 3.011 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/6.111, allocations: 0 / 3.011 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005316/6.111, allocations: 0.6555 MB / 3.012 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002398/6.114, allocations: 1.442 MB / 3.013 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/6.114, allocations: 4 kB / 3.013 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004122/6.114, allocations: 87.89 kB / 3.013 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/6.114, allocations: 4 kB / 3.013 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-05/6.114, allocations: 8.5 kB / 3.013 GB, free: 50.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/6.114, allocations: 19.77 kB / 3.013 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/6.114, allocations: 7.906 kB / 3.013 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001054/6.115, allocations: 0.9537 MB / 3.014 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001819/6.117, allocations: 1.626 MB / 3.016 GB, free: 48.03 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004103/6.117, allocations: 208.2 kB / 3.016 GB, free: 47.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/6.118, allocations: 11.94 kB / 3.016 GB, free: 47.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008634/6.118, allocations: 55.8 kB / 3.016 GB, free: 47.74 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.408e-05/6.119, allocations: 35.88 kB / 3.016 GB, free: 47.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-05/6.119, allocations: 27.98 kB / 3.016 GB, free: 47.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0006193/6.119, allocations: 435.1 kB / 3.017 GB, free: 47.26 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002132/6.121, allocations: 484 kB / 3.017 GB, free: 46.79 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.001925/6.123, allocations: 1.511 MB / 3.018 GB, free: 45.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007461/6.124, allocations: 436 kB / 3.019 GB, free: 44.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/6.124, allocations: 0 / 3.019 GB, free: 44.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002229/6.124, allocations: 185.9 kB / 3.019 GB, free: 44.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/6.126, allocations: 391.8 kB / 3.019 GB, free: 44.43 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/6.129, allocations: 1.391 MB / 3.021 GB, free: 42.97 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008506/6.13, allocations: 1.194 MB / 3.022 GB, free: 41.75 MB / 0.6042 GB Notification: Performance of SimCode: time 9.22e-07/6.13, allocations: 0 / 3.022 GB, free: 41.75 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)