Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.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/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/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: translateModel(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u") [: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.002877/0.002877, allocations: 180.3 kB / 7.453 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6748/0.6748, allocations: 130.6 MB / 138.5 MB, free: 2.168 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 221.3 MB / 391.4 MB, free: 13.04 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.001078/0.001079, allocations: 97.08 kB / 473.5 MB, free: 14.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.908e-06/9.948e-06, allocations: 3.812 kB / 0.5479 GB, free: 89.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2021, allocations: 81.57 MB / 0.6276 GB, free: 18.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.273/1.475, allocations: 382.7 MB / 1.001 GB, free: 229.7 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003522/1.476, allocations: 89.7 kB / 1.001 GB, free: 229.7 MB / 0.6667 GB Notification: Performance of FrontEnd: time 11.23/12.71, allocations: 2.793 GB / 3.795 GB, free: 32.24 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.001484/12.71, allocations: 177.9 kB / 3.795 GB, free: 32.21 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.02461/12.73, allocations: 5.945 MB / 3.801 GB, free: 29.36 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 6.548e-05/12.73, allocations: 9.156 kB / 3.801 GB, free: 29.36 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007627/12.74, allocations: 0.7775 MB / 3.801 GB, free: 28.99 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1852/12.93, allocations: 60.93 MB / 3.861 GB, free: 25.84 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000383/12.93, allocations: 128 kB / 3.861 GB, free: 25.84 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001883/12.93, allocations: 251.3 kB / 3.861 GB, free: 25.84 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009223/12.94, allocations: 2.542 MB / 3.864 GB, free: 25.82 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01593/12.95, allocations: 3.619 MB / 3.867 GB, free: 25.06 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003209/12.96, allocations: 20.44 kB / 3.867 GB, free: 25.05 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001368/12.96, allocations: 6.656 kB / 3.867 GB, free: 25.05 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000164/12.96, allocations: 123.4 kB / 3.867 GB, free: 25.05 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04648/13, allocations: 26.03 MB / 3.893 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002988/13.01, allocations: 1.091 MB / 3.894 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002812/13.01, allocations: 1.094 MB / 3.895 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004242/13.01, allocations: 3.941 MB / 3.899 GB, free: 20.49 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.336e-05/13.01, allocations: 66.05 kB / 3.899 GB, free: 20.45 MB / 0.823 GB Notification: Performance of pre-optimization done (n=225): time 8.396e-06/13.01, allocations: 1.312 kB / 3.899 GB, free: 20.45 MB / 0.823 GB Notification: Performance of matching and sorting (n=225): time 0.01138/13.02, allocations: 2.964 MB / 3.902 GB, free: 20.05 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.839e-05/13.03, allocations: 76.41 kB / 3.902 GB, free: 19.99 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01175/13.04, allocations: 3.301 MB / 3.905 GB, free: 19.69 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.00087/13.04, allocations: 30.67 kB / 3.905 GB, free: 19.66 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002886/13.04, allocations: 1.716 MB / 3.907 GB, free: 18.77 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.002014/13.04, allocations: 0.7483 MB / 3.908 GB, free: 18.26 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003762/13.04, allocations: 0 / 3.908 GB, free: 18.26 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000385/13.04, allocations: 411.4 kB / 3.908 GB, free: 17.96 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001971/13.05, allocations: 0.7383 MB / 3.909 GB, free: 17.95 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002847/13.05, allocations: 1.707 MB / 3.91 GB, free: 16.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004966/13.05, allocations: 1.419 MB / 3.912 GB, free: 16.77 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.285e-05/13.05, allocations: 8.594 kB / 3.912 GB, free: 16.77 MB / 0.823 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01175/13.07, allocations: 3.533 MB / 3.915 GB, free: 16.39 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.004568/13.07, allocations: 10.32 MB / 3.925 GB, free: 5.625 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.483e-05/13.07, allocations: 24.44 kB / 3.925 GB, free: 5.625 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001143/13.07, allocations: 382.9 kB / 3.926 GB, free: 5.59 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002587/13.07, allocations: 0.515 MB / 3.926 GB, free: 5.562 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003905/13.08, allocations: 2.836 MB / 3.929 GB, free: 3.461 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007673/13.09, allocations: 0.4962 MB / 3.929 GB, free: 3.32 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007013/13.09, allocations: 131.4 kB / 3.93 GB, free: 3.32 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/13.09, allocations: 3.125 kB / 3.93 GB, free: 3.32 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009382/13.1, allocations: 2.834 MB / 3.932 GB, free: 3.117 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.797e-05/13.1, allocations: 19.97 kB / 3.932 GB, free: 3.117 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/13.1, allocations: 402 kB / 3.933 GB, free: 3.074 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002088/13.1, allocations: 0.5083 MB / 3.933 GB, free: 3.039 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009723/13.11, allocations: 7.307 MB / 3.94 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007258/13.12, allocations: 459.9 kB / 3.941 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001045/13.12, allocations: 131.1 kB / 3.941 GB, free: 13.73 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (291): * Single equations (assignments): 287 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 14,1 11,1 14,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.001793/13.12, allocations: 185.3 kB / 3.941 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002949/13.12, allocations: 0.502 MB / 3.942 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01394/13.14, allocations: 4.14 MB / 3.946 GB, free: 12.92 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.769e-05/13.14, allocations: 41.2 kB / 3.946 GB, free: 12.92 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.358e-05/13.14, allocations: 1.656 kB / 3.946 GB, free: 12.92 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007212/13.14, allocations: 2.736 MB / 3.948 GB, free: 12.71 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03198/13.18, allocations: 8.164 MB / 3.956 GB, free: 11.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.852e-05/13.18, allocations: 0 / 3.956 GB, free: 11.22 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002086/13.18, allocations: 391.7 kB / 3.957 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005967/13.18, allocations: 226.2 kB / 3.957 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004151/13.18, allocations: 41.45 kB / 3.957 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002446/13.18, allocations: 2.522 MB / 3.959 GB, free: 9.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/13.18, allocations: 0 / 3.959 GB, free: 9.07 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01391/13.19, allocations: 4.846 MB / 3.964 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005562/13.2, allocations: 0.974 MB / 3.965 GB, free: 7.898 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002627/13.2, allocations: 7.766 kB / 3.965 GB, free: 7.898 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007141/13.21, allocations: 400.5 kB / 3.965 GB, free: 7.863 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000438/13.21, allocations: 139.5 kB / 3.966 GB, free: 7.859 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006361/13.21, allocations: 113.3 kB / 3.966 GB, free: 7.859 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.009013/13.22, allocations: 2.451 MB / 3.968 GB, free: 7.68 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.02168/13.24, allocations: 3.418 MB / 3.971 GB, free: 7.129 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01003/13.25, allocations: 3.436 MB / 3.975 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01089/13.26, allocations: 4.245 MB / 3.979 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/13.26, allocations: 2.438 kB / 3.979 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002956/13.27, allocations: 1.251 MB / 3.98 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01697/13.28, allocations: 2.514 MB / 3.983 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0229/13.31, allocations: 7.325 MB / 3.99 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005453/13.31, allocations: 3.471 MB / 3.993 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of SimCode: time 1.402e-06/13.31, allocations: 0 / 3.993 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of Templates: time 0.881/14.19, allocations: 122.5 MB / 4.113 GB, free: 112.2 MB / 0.8542 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)