Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="IDEAS_dev_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.003035/0.003035, 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.7018/0.7018, allocations: 133.5 MB / 141.4 MB, free: 15.57 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.547/1.547, allocations: 221.3 MB / 395 MB, free: 10.13 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.001102/0.001102, allocations: 101.9 kB / 477.8 MB, free: 10.69 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4606/0.4618, allocations: 88.42 MB / 0.5529 GB, free: 89.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.6983, allocations: 82.3 MB / 0.6333 GB, free: 13.92 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.237/1.935, allocations: 383 MB / 1.007 GB, free: 250.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/1.935, allocations: 90.45 kB / 1.007 GB, free: 250.6 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 10.39/12.33, allocations: 2.799 GB / 3.807 GB, free: 500 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/12.33, allocations: 12 kB / 3.807 GB, free: 488 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4961/12.82, allocations: 0.7769 MB / 3.807 GB, free: 77.48 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1588/12.98, allocations: 60.92 MB / 3.867 GB, free: 74.97 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001603/12.98, allocations: 130.5 kB / 3.867 GB, free: 74.97 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008146/12.98, allocations: 251.8 kB / 3.867 GB, free: 74.97 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005581/12.99, allocations: 2.542 MB / 3.87 GB, free: 74.95 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006087/13, allocations: 3.62 MB / 3.873 GB, free: 74.19 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.825e-05/13, allocations: 15.84 kB / 3.873 GB, free: 74.19 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003699/13, allocations: 10.22 kB / 3.873 GB, free: 74.19 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000117/13, allocations: 122.8 kB / 3.873 GB, free: 74.19 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03501/13.03, allocations: 26.03 MB / 3.899 GB, free: 58.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001965/13.03, allocations: 1.09 MB / 3.9 GB, free: 58.17 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001598/13.03, allocations: 1.097 MB / 3.901 GB, free: 58.15 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002905/13.04, allocations: 3.94 MB / 3.905 GB, free: 53.74 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.506e-05/13.04, allocations: 64.91 kB / 3.905 GB, free: 53.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=225): time 1.003e-05/13.04, allocations: 0 / 3.905 GB, free: 53.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=225): time 0.01129/13.05, allocations: 2.968 MB / 3.908 GB, free: 53.31 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/13.05, allocations: 75.19 kB / 3.908 GB, free: 53.25 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008861/13.06, allocations: 3.311 MB / 3.911 GB, free: 52.94 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006912/13.06, allocations: 35.3 kB / 3.911 GB, free: 52.91 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00154/13.06, allocations: 1.708 MB / 3.913 GB, free: 52.02 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00141/13.06, allocations: 0.7554 MB / 3.914 GB, free: 51.52 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/13.06, allocations: 0 / 3.914 GB, free: 51.52 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001419/13.06, allocations: 405.7 kB / 3.914 GB, free: 51.21 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/13.06, allocations: 0.7351 MB / 3.915 GB, free: 51.21 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/13.06, allocations: 1.706 MB / 3.916 GB, free: 50.05 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003997/13.07, allocations: 1.42 MB / 3.918 GB, free: 50.02 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.75e-05/13.07, allocations: 8.375 kB / 3.918 GB, free: 50.02 MB / 0.823 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.009731/13.08, allocations: 3.545 MB / 3.921 GB, free: 65.64 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.003945/13.08, allocations: 10.31 MB / 3.931 GB, free: 54.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.385e-05/13.08, allocations: 21.69 kB / 3.931 GB, free: 54.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/13.08, allocations: 385.6 kB / 3.932 GB, free: 54.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002377/13.09, allocations: 0.5096 MB / 3.932 GB, free: 54.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00288/13.09, allocations: 2.854 MB / 3.935 GB, free: 52.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00703/13.1, allocations: 494.4 kB / 3.935 GB, free: 52.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000946/13.1, allocations: 130.1 kB / 3.935 GB, free: 52.62 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/13.1, allocations: 7.156 kB / 3.935 GB, free: 52.62 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009634/13.11, allocations: 2.829 MB / 3.938 GB, free: 52.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.906e-05/13.11, allocations: 20.5 kB / 3.938 GB, free: 52.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001178/13.11, allocations: 396.6 kB / 3.939 GB, free: 52.49 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002296/13.11, allocations: 0.5137 MB / 3.939 GB, free: 52.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0101/13.12, allocations: 7.316 MB / 3.946 GB, free: 47.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006391/13.13, allocations: 455.8 kB / 3.947 GB, free: 47.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008079/13.13, allocations: 125.9 kB / 3.947 GB, free: 47.23 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.00127/13.13, allocations: 181 kB / 3.947 GB, free: 47.11 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002001/13.13, allocations: 0.5096 MB / 3.948 GB, free: 46.84 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01116/13.14, allocations: 4.141 MB / 3.952 GB, free: 46.58 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.85e-05/13.14, allocations: 42.05 kB / 3.952 GB, free: 46.58 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.547e-05/13.14, allocations: 6.594 kB / 3.952 GB, free: 46.58 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00652/13.15, allocations: 2.718 MB / 3.954 GB, free: 46.39 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02133/13.17, allocations: 8.175 MB / 3.962 GB, free: 44.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-05/13.17, allocations: 3.094 kB / 3.962 GB, free: 44.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001647/13.17, allocations: 386.2 kB / 3.963 GB, free: 44.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004576/13.17, allocations: 225.9 kB / 3.963 GB, free: 44.88 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000216/13.17, allocations: 37.73 kB / 3.963 GB, free: 44.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/13.17, allocations: 2.529 MB / 3.965 GB, free: 42.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/13.17, allocations: 3.906 kB / 3.965 GB, free: 42.79 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01024/13.18, allocations: 4.832 MB / 3.97 GB, free: 42.05 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0139/13.2, allocations: 6.95 MB / 3.977 GB, free: 56.91 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004263/13.2, allocations: 0.9778 MB / 3.978 GB, free: 56.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002234/13.21, allocations: 6.281 kB / 3.978 GB, free: 56.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005833/13.21, allocations: 397.7 kB / 3.978 GB, free: 56.48 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004539/13.21, allocations: 147.3 kB / 3.978 GB, free: 56.47 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00053/13.21, allocations: 109.9 kB / 3.978 GB, free: 56.47 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.006322/13.22, allocations: 2.453 MB / 3.981 GB, free: 56.29 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.02157/13.24, allocations: 4.773 MB / 3.985 GB, free: 55.88 MB / 0.8542 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.008005/13.25, allocations: 3.436 MB / 3.989 GB, free: 54.62 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01089/13.26, allocations: 4.247 MB / 3.993 GB, free: 54.11 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/13.26, allocations: 2.594 kB / 3.993 GB, free: 54.11 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002573/13.26, allocations: 1.256 MB / 3.994 GB, free: 54.09 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01505/13.28, allocations: 2.497 MB / 3.997 GB, free: 54.07 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02279/13.3, allocations: 7.35 MB / 4.004 GB, free: 52.21 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006339/13.31, allocations: 3.482 MB / 4.007 GB, free: 51.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.293e-06/13.31, allocations: 1.312 kB / 4.007 GB, free: 51.4 MB / 0.8542 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)