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-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.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_HeaterCooler_u",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.003065/0.003065, allocations: 185.6 kB / 7.459 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.682/0.682, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.524/1.524, allocations: 221.3 MB / 395 MB, free: 10.21 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.001085/0.001085, allocations: 104.3 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4959/0.497, allocations: 88.43 MB / 0.5529 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.6907, allocations: 82.3 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.379/2.07, allocations: 383 MB / 1.007 GB, free: 250.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/2.07, allocations: 94.62 kB / 1.007 GB, free: 250.9 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: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 11.59/13.67, allocations: 2.799 GB / 3.807 GB, free: 79.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/13.67, allocations: 9.656 kB / 3.807 GB, free: 79.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00534/13.67, allocations: 0.7856 MB / 3.807 GB, free: 79.43 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1647/13.84, allocations: 60.92 MB / 3.867 GB, free: 76.48 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001744/13.84, allocations: 129.5 kB / 3.867 GB, free: 76.48 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009228/13.84, allocations: 249.6 kB / 3.867 GB, free: 76.48 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009561/13.85, allocations: 2.54 MB / 3.87 GB, free: 76.46 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008496/13.85, allocations: 3.624 MB / 3.873 GB, free: 75.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001141/13.85, allocations: 13.88 kB / 3.873 GB, free: 75.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004129/13.86, allocations: 9.469 kB / 3.873 GB, free: 75.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001013/13.86, allocations: 122.1 kB / 3.873 GB, free: 75.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03154/13.89, allocations: 26.03 MB / 3.899 GB, free: 59.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/13.89, allocations: 1.087 MB / 3.9 GB, free: 59.58 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/13.89, allocations: 1.103 MB / 3.901 GB, free: 59.55 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002469/13.89, allocations: 3.936 MB / 3.905 GB, free: 55.15 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.414e-05/13.89, allocations: 67.39 kB / 3.905 GB, free: 55.11 MB / 0.823 GB Notification: Performance of pre-optimization done (n=225): time 3.947e-06/13.89, allocations: 0 / 3.905 GB, free: 55.11 MB / 0.823 GB Notification: Performance of matching and sorting (n=225): time 0.008347/13.9, allocations: 2.963 MB / 3.908 GB, free: 54.71 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/13.9, allocations: 78.92 kB / 3.908 GB, free: 54.65 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007147/13.91, allocations: 3.312 MB / 3.911 GB, free: 54.34 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0008061/13.91, allocations: 29.27 kB / 3.911 GB, free: 54.31 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001698/13.91, allocations: 1.71 MB / 3.913 GB, free: 53.43 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001511/13.91, allocations: 0.7507 MB / 3.914 GB, free: 52.93 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/13.91, allocations: 0 / 3.914 GB, free: 52.93 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001345/13.91, allocations: 410.8 kB / 3.914 GB, free: 52.62 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/13.91, allocations: 0.7401 MB / 3.915 GB, free: 52.61 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00185/13.92, allocations: 1.699 MB / 3.916 GB, free: 51.46 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004238/13.92, allocations: 1.42 MB / 3.918 GB, free: 51.43 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.481e-05/13.92, allocations: 4.562 kB / 3.918 GB, free: 51.43 MB / 0.823 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.008856/13.93, allocations: 3.538 MB / 3.921 GB, free: 51.05 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.003271/13.93, allocations: 10.31 MB / 3.931 GB, free: 56.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-05/13.93, allocations: 24.06 kB / 3.931 GB, free: 56.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009348/13.93, allocations: 384.6 kB / 3.932 GB, free: 56.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00214/13.94, allocations: 0.5064 MB / 3.932 GB, free: 56.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002625/13.94, allocations: 2.85 MB / 3.935 GB, free: 54.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005867/13.94, allocations: 0.4886 MB / 3.935 GB, free: 54.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004523/13.94, allocations: 132.4 kB / 3.935 GB, free: 54.02 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/13.94, allocations: 4.438 kB / 3.935 GB, free: 54.02 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007424/13.95, allocations: 2.831 MB / 3.938 GB, free: 53.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-05/13.95, allocations: 25.61 kB / 3.938 GB, free: 53.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/13.95, allocations: 399.6 kB / 3.939 GB, free: 53.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/13.96, allocations: 0.5129 MB / 3.939 GB, free: 53.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008771/13.96, allocations: 7.302 MB / 3.946 GB, free: 48.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006427/13.97, allocations: 458.3 kB / 3.947 GB, free: 48.63 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000709/13.97, allocations: 129.6 kB / 3.947 GB, free: 48.63 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.0009044/13.97, allocations: 190.9 kB / 3.947 GB, free: 48.5 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002127/13.97, allocations: 0.5013 MB / 3.948 GB, free: 48.24 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01012/13.98, allocations: 4.135 MB / 3.952 GB, free: 47.98 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.809e-05/13.98, allocations: 45.03 kB / 3.952 GB, free: 47.98 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/13.98, allocations: 5.156 kB / 3.952 GB, free: 47.98 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006167/13.99, allocations: 2.72 MB / 3.954 GB, free: 47.79 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01972/14.01, allocations: 8.173 MB / 3.962 GB, free: 46.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/14.01, allocations: 2 kB / 3.962 GB, free: 46.31 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001636/14.01, allocations: 385 kB / 3.963 GB, free: 46.31 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004497/14.01, allocations: 228.5 kB / 3.963 GB, free: 46.28 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001333/14.01, allocations: 39.45 kB / 3.963 GB, free: 46.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001844/14.01, allocations: 2.532 MB / 3.965 GB, free: 44.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/14.01, allocations: 2.188 kB / 3.965 GB, free: 44.2 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009433/14.02, allocations: 4.833 MB / 3.97 GB, free: 43.45 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01328/14.04, allocations: 6.949 MB / 3.977 GB, free: 42.31 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004649/14.04, allocations: 0.9718 MB / 3.978 GB, free: 41.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00216/14.04, allocations: 13.95 kB / 3.978 GB, free: 41.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006443/14.05, allocations: 393.9 kB / 3.978 GB, free: 41.88 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002886/14.05, allocations: 139.6 kB / 3.978 GB, free: 41.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003772/14.05, allocations: 114.6 kB / 3.978 GB, free: 41.88 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.005203/14.06, allocations: 2.452 MB / 3.981 GB, free: 41.7 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.02161/14.08, allocations: 4.787 MB / 3.985 GB, free: 41.17 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.008215/14.09, allocations: 3.428 MB / 3.989 GB, free: 39.78 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.009565/14.1, allocations: 4.25 MB / 3.993 GB, free: 39.27 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/14.1, allocations: 1.75 kB / 3.993 GB, free: 39.27 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002428/14.1, allocations: 1.255 MB / 3.994 GB, free: 39.26 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01519/14.11, allocations: 2.501 MB / 3.997 GB, free: 39.23 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02225/14.14, allocations: 7.345 MB / 4.004 GB, free: 37.38 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007525/14.14, allocations: 3.487 MB / 4.007 GB, free: 36.57 MB / 0.8386 GB Notification: Performance of SimCode: time 1.183e-06/14.14, allocations: 5.688 kB / 4.007 GB, free: 36.57 MB / 0.8386 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)