Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",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.76/0.76, allocations: 127.4 MB / 134.6 MB, free: 4.074 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.001279/0.001279, allocations: 173.3 kB / 164.4 MB, free: 6.891 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.99/1.99, allocations: 205.1 MB / 399.1 MB, free: 6.094 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.001427/0.001427, allocations: 87.14 kB / 476.3 MB, free: 8.855 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4053/0.4068, allocations: 82.88 MB / 0.546 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.6501, allocations: 76.76 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.432/7.082, allocations: 2.383 GB / 3.004 GB, free: 70.11 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/7.082, allocations: 83.95 kB / 3.004 GB, free: 70.03 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 2.925/10.01, allocations: 0.6487 GB / 3.653 GB, free: 88.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/10.01, allocations: 10.72 kB / 3.653 GB, free: 88.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003634/10.01, allocations: 0.5933 MB / 3.654 GB, free: 88.74 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03508/10.05, allocations: 12.64 MB / 3.666 GB, free: 88.03 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001567/10.05, allocations: 323.9 kB / 3.666 GB, free: 88.03 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005615/10.05, allocations: 38.91 kB / 3.666 GB, free: 88.03 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002548/10.05, allocations: 0.7736 MB / 3.667 GB, free: 88.03 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002545/10.05, allocations: 0.8721 MB / 3.668 GB, free: 87.89 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.106e-05/10.05, allocations: 0 / 3.668 GB, free: 87.89 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000165/10.05, allocations: 3.812 kB / 3.668 GB, free: 87.89 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-05/10.05, allocations: 35.75 kB / 3.668 GB, free: 87.89 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01015/10.06, allocations: 3.805 MB / 3.672 GB, free: 86.28 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009203/10.06, allocations: 0.536 MB / 3.672 GB, free: 86.25 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000458/10.07, allocations: 297.6 kB / 3.673 GB, free: 86.25 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004888/10.07, allocations: 378.5 kB / 3.673 GB, free: 85.87 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007061/10.07, allocations: 443.1 kB / 3.673 GB, free: 85.76 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=46): time 3.687e-06/10.07, allocations: 0 / 3.673 GB, free: 85.76 MB / 0.6511 GB Notification: Performance of matching and sorting (n=46): time 0.002215/10.07, allocations: 0.6803 MB / 3.674 GB, free: 85.68 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.326e-05/10.07, allocations: 139.4 kB / 3.674 GB, free: 85.52 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/10.07, allocations: 0.6892 MB / 3.675 GB, free: 85.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001643/10.07, allocations: 28.95 kB / 3.675 GB, free: 85.37 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004266/10.07, allocations: 350.8 kB / 3.675 GB, free: 85.19 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002344/10.07, allocations: 146.3 kB / 3.675 GB, free: 85.12 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.598e-05/10.07, allocations: 2.125 kB / 3.675 GB, free: 85.12 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001455/10.07, allocations: 332 kB / 3.676 GB, free: 84.81 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005437/10.07, allocations: 311 kB / 3.676 GB, free: 84.81 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006469/10.07, allocations: 490.5 kB / 3.676 GB, free: 84.62 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009882/10.07, allocations: 407.6 kB / 3.677 GB, free: 84.61 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/10.07, allocations: 3.906 kB / 3.677 GB, free: 84.61 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002271/10.08, allocations: 0.8917 MB / 3.678 GB, free: 84.52 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/10.08, allocations: 7.656 kB / 3.678 GB, free: 84.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/10.08, allocations: 3.844 kB / 3.678 GB, free: 84.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.446e-05/10.08, allocations: 11.22 kB / 3.678 GB, free: 84.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/10.08, allocations: 224.5 kB / 3.678 GB, free: 84.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.997e-05/10.08, allocations: 14.03 kB / 3.678 GB, free: 84.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/10.08, allocations: 282.8 kB / 3.678 GB, free: 84.51 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001786/10.08, allocations: 50.2 kB / 3.678 GB, free: 84.51 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.0003139/10.08, allocations: 156.8 kB / 3.678 GB, free: 84.37 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002907/10.08, allocations: 91.62 kB / 3.679 GB, free: 84.32 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003583/10.08, allocations: 95.08 kB / 3.679 GB, free: 84.31 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/10.08, allocations: 3.469 kB / 3.679 GB, free: 84.31 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.69e-05/10.08, allocations: 6.719 kB / 3.679 GB, free: 84.31 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/10.08, allocations: 0 / 3.679 GB, free: 84.31 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00487/10.08, allocations: 2.47 MB / 3.681 GB, free: 83.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/10.09, allocations: 4.969 kB / 3.681 GB, free: 83.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006533/10.09, allocations: 109.2 kB / 3.681 GB, free: 83.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.417e-05/10.09, allocations: 8.188 kB / 3.681 GB, free: 83.68 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.306e-05/10.09, allocations: 27.56 kB / 3.681 GB, free: 83.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.169e-05/10.09, allocations: 17.72 kB / 3.681 GB, free: 83.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.127e-05/10.09, allocations: 11.03 kB / 3.681 GB, free: 83.68 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001757/10.09, allocations: 1.2 MB / 3.682 GB, free: 82.89 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00245/10.09, allocations: 1.663 MB / 3.684 GB, free: 81.75 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008529/10.09, allocations: 285.7 kB / 3.684 GB, free: 81.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003417/10.09, allocations: 14.5 kB / 3.684 GB, free: 81.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001501/10.09, allocations: 131.1 kB / 3.684 GB, free: 81.61 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/10.09, allocations: 36.11 kB / 3.684 GB, free: 81.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/10.09, allocations: 45.34 kB / 3.685 GB, free: 81.61 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.001255/10.09, allocations: 0.5199 MB / 3.685 GB, free: 81.51 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003861/10.1, allocations: 0.5922 MB / 3.686 GB, free: 81.46 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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 Backend phase and start with SimCode phase: time 0.004204/10.1, allocations: 1.782 MB / 3.687 GB, free: 81.01 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001657/10.1, allocations: 0.6996 MB / 3.688 GB, free: 80.98 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/10.1, allocations: 3.625 kB / 3.688 GB, free: 80.98 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000505/10.1, allocations: 375 kB / 3.688 GB, free: 80.94 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/10.11, allocations: 320.8 kB / 3.689 GB, free: 80.93 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004164/10.11, allocations: 1.326 MB / 3.69 GB, free: 80.43 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001661/10.11, allocations: 1.167 MB / 3.691 GB, free: 79.71 MB / 0.6511 GB Notification: Performance of SimCode: time 2.555e-06/10.11, allocations: 0 / 3.691 GB, free: 79.71 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)