Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",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.001426/0.001426, allocations: 185.5 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.458/0.458, allocations: 90.85 MB / 99.08 MB, free: 14.94 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.294/1.294, allocations: 221.4 MB / 342.8 MB, free: 5.184 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.0009601/0.0009602, allocations: 87 kB / 415.5 MB, free: 6.422 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1859/0.1869, allocations: 78.45 MB / 494 MB, free: 7.973 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.5738, allocations: 72.3 MB / 0.553 GB, free: 73.49 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.29/3.864, allocations: 1.848 GB / 2.401 GB, free: 228.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/3.864, allocations: 84.2 kB / 2.401 GB, free: 228.6 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 3.305/7.17, allocations: 1.012 GB / 3.413 GB, free: 72.63 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/7.17, allocations: 7.469 kB / 3.413 GB, free: 72.63 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003772/7.174, allocations: 0.593 MB / 3.414 GB, free: 72.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003791/7.178, allocations: 1.083 MB / 3.415 GB, free: 72.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006369/7.178, allocations: 182.4 kB / 3.415 GB, free: 72.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/7.178, allocations: 55.62 kB / 3.415 GB, free: 72.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00179/7.18, allocations: 1.011 MB / 3.416 GB, free: 72.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/7.182, allocations: 1.046 MB / 3.417 GB, free: 72.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/7.182, allocations: 0 / 3.417 GB, free: 72.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.963e-05/7.182, allocations: 3.875 kB / 3.417 GB, free: 72.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.645e-05/7.182, allocations: 44.64 kB / 3.417 GB, free: 72.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007531/7.19, allocations: 4.103 MB / 3.421 GB, free: 70.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/7.191, allocations: 0.7279 MB / 3.422 GB, free: 70.67 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006433/7.191, allocations: 0.4999 MB / 3.422 GB, free: 70.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/7.192, allocations: 0.6162 MB / 3.423 GB, free: 70.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/7.193, allocations: 42.22 kB / 3.423 GB, free: 70.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=76): time 3.366e-06/7.193, allocations: 2.438 kB / 3.423 GB, free: 70.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76): time 0.002558/7.195, allocations: 1.195 MB / 3.424 GB, free: 69.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/7.195, allocations: 59.5 kB / 3.424 GB, free: 69.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006831/7.196, allocations: 0.5593 MB / 3.425 GB, free: 69.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.594e-05/7.196, allocations: 29.08 kB / 3.425 GB, free: 69.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000191/7.196, allocations: 330.2 kB / 3.425 GB, free: 69.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/7.196, allocations: 253.8 kB / 3.425 GB, free: 69.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-05/7.196, allocations: 0 / 3.425 GB, free: 69.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.981e-05/7.196, allocations: 331.6 kB / 3.426 GB, free: 69.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005549/7.197, allocations: 415.6 kB / 3.426 GB, free: 69.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006599/7.198, allocations: 0.5331 MB / 3.426 GB, free: 68.97 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/7.199, allocations: 0.6208 MB / 3.427 GB, free: 68.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/7.199, allocations: 0 / 3.427 GB, free: 68.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002116/7.201, allocations: 1.223 MB / 3.428 GB, free: 68.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001411/7.201, allocations: 448.3 kB / 3.429 GB, free: 68.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/7.201, allocations: 3.844 kB / 3.429 GB, free: 68.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/7.201, allocations: 11.16 kB / 3.429 GB, free: 68.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/7.203, allocations: 289.9 kB / 3.429 GB, free: 68.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008147/7.204, allocations: 1.209 MB / 3.43 GB, free: 67.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/7.205, allocations: 188.1 kB / 3.43 GB, free: 67.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/7.205, allocations: 46.33 kB / 3.43 GB, free: 67.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/7.205, allocations: 2.688 kB / 3.43 GB, free: 67.2 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002033/7.207, allocations: 1.092 MB / 3.431 GB, free: 67.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/7.207, allocations: 3.75 kB / 3.431 GB, free: 67.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.214e-06/7.208, allocations: 3.688 kB / 3.431 GB, free: 67.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/7.209, allocations: 271.5 kB / 3.432 GB, free: 67.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/7.209, allocations: 4.703 kB / 3.432 GB, free: 67.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/7.21, allocations: 187.7 kB / 3.432 GB, free: 67.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/7.21, allocations: 40.64 kB / 3.432 GB, free: 67.16 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002863/7.211, allocations: 121.6 kB / 3.432 GB, free: 67.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/7.211, allocations: 94.75 kB / 3.432 GB, free: 67.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002536/7.213, allocations: 1.265 MB / 3.433 GB, free: 66.94 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/7.213, allocations: 14.97 kB / 3.433 GB, free: 66.94 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/7.213, allocations: 0 / 3.433 GB, free: 66.94 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/7.213, allocations: 4.453 kB / 3.433 GB, free: 66.94 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004973/7.218, allocations: 2.645 MB / 3.436 GB, free: 66.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/7.218, allocations: 3.906 kB / 3.436 GB, free: 66.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001484/7.22, allocations: 275.7 kB / 3.436 GB, free: 66.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.286e-05/7.22, allocations: 6.938 kB / 3.436 GB, free: 66.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.844e-05/7.22, allocations: 16.86 kB / 3.436 GB, free: 66.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000528/7.221, allocations: 1.202 MB / 3.437 GB, free: 65.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/7.221, allocations: 6.375 kB / 3.437 GB, free: 65.32 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002342/7.223, allocations: 1.537 MB / 3.439 GB, free: 64.76 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003167/7.226, allocations: 2.06 MB / 3.441 GB, free: 63.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006623/7.227, allocations: 303.6 kB / 3.441 GB, free: 63.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/7.227, allocations: 8.422 kB / 3.441 GB, free: 63.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/7.228, allocations: 167.4 kB / 3.441 GB, free: 63.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/7.229, allocations: 60.38 kB / 3.442 GB, free: 63.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000146/7.229, allocations: 40.42 kB / 3.442 GB, free: 63.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0006996/7.229, allocations: 440.6 kB / 3.442 GB, free: 63.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.004624/7.234, allocations: 1.288 MB / 3.443 GB, free: 63.5 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003602/7.238, allocations: 2.633 MB / 3.446 GB, free: 62.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002857/7.241, allocations: 1.603 MB / 3.447 GB, free: 62.56 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/7.241, allocations: 1.938 kB / 3.447 GB, free: 62.56 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008626/7.241, allocations: 0.5405 MB / 3.448 GB, free: 62.56 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/7.243, allocations: 414.2 kB / 3.448 GB, free: 62.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01518/7.259, allocations: 2.423 MB / 3.451 GB, free: 62.08 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/7.26, allocations: 1.229 MB / 3.452 GB, free: 61.36 MB / 0.6198 GB Notification: Performance of SimCode: time 1.072e-06/7.26, allocations: 0 / 3.452 GB, free: 61.36 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.fmu > IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)