Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.003954/0.003955, allocations: 180.7 kB / 7.459 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7569/0.7569, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.597/1.597, allocations: 221.3 MB / 395 MB, free: 10.2 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.001084/0.001084, allocations: 91.55 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.481/0.4821, allocations: 88.43 MB / 0.5529 GB, free: 88.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.6755, allocations: 82.31 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.559/5.235, allocations: 1.944 GB / 2.577 GB, free: 16.26 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/5.235, allocations: 83.95 kB / 2.577 GB, free: 16.18 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.9283/6.164, allocations: 270.6 MB / 2.841 GB, free: 24.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/6.164, allocations: 12 kB / 2.841 GB, free: 24.19 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/6.165, allocations: 167 kB / 2.842 GB, free: 24.03 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008847/6.166, allocations: 0.547 MB / 2.842 GB, free: 23.44 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/6.166, allocations: 16 kB / 2.842 GB, free: 23.42 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.872e-05/6.166, allocations: 32 kB / 2.842 GB, free: 23.39 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007083/6.166, allocations: 454.5 kB / 2.843 GB, free: 22.95 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007607/6.167, allocations: 0.5448 MB / 2.843 GB, free: 22.38 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/6.167, allocations: 0 / 2.843 GB, free: 22.38 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.292e-05/6.167, allocations: 3.906 kB / 2.843 GB, free: 22.38 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.876e-05/6.167, allocations: 21.31 kB / 2.843 GB, free: 22.36 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002813/6.17, allocations: 2.12 MB / 2.845 GB, free: 20.09 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003477/6.171, allocations: 222.9 kB / 2.845 GB, free: 19.87 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/6.171, allocations: 105.2 kB / 2.845 GB, free: 19.76 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.834e-05/6.171, allocations: 7.953 kB / 2.845 GB, free: 19.75 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/6.171, allocations: 42.5 kB / 2.846 GB, free: 19.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=20): time 2.034e-06/6.171, allocations: 0 / 2.846 GB, free: 19.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20): time 0.0007966/6.172, allocations: 306.7 kB / 2.846 GB, free: 19.39 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/6.172, allocations: 81.11 kB / 2.846 GB, free: 19.29 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/6.172, allocations: 365 kB / 2.846 GB, free: 18.93 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/6.172, allocations: 25.7 kB / 2.846 GB, free: 18.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/6.172, allocations: 298.8 kB / 2.847 GB, free: 18.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.976e-05/6.172, allocations: 70.94 kB / 2.847 GB, free: 18.53 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.525e-05/6.172, allocations: 4 kB / 2.847 GB, free: 18.53 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.159e-05/6.172, allocations: 346.8 kB / 2.847 GB, free: 18.18 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/6.172, allocations: 112.6 kB / 2.847 GB, free: 18.07 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/6.173, allocations: 204 kB / 2.847 GB, free: 17.83 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/6.173, allocations: 139.9 kB / 2.847 GB, free: 17.69 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/6.173, allocations: 0 / 2.847 GB, free: 17.69 MB / 0.6823 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006946/6.173, allocations: 442.5 kB / 2.848 GB, free: 17.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/6.173, allocations: 4 kB / 2.848 GB, free: 17.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/6.173, allocations: 4.328 kB / 2.848 GB, free: 17.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003255/6.174, allocations: 89.66 kB / 2.848 GB, free: 17.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003321/6.174, allocations: 75.8 kB / 2.848 GB, free: 17.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002035/6.176, allocations: 2.797 MB / 2.851 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005438/6.177, allocations: 55.62 kB / 2.851 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/6.177, allocations: 12.06 kB / 2.851 GB, free: 13.98 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001419/6.177, allocations: 123.4 kB / 2.851 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.683e-05/6.177, allocations: 43.53 kB / 2.851 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.767e-05/6.177, allocations: 43.47 kB / 2.851 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/6.177, allocations: 4 kB / 2.851 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/6.177, allocations: 4.094 kB / 2.851 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005029/6.178, allocations: 495.4 kB / 2.851 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/6.179, allocations: 0.8095 MB / 2.852 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/6.179, allocations: 0 / 2.852 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/6.179, allocations: 39.97 kB / 2.852 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001943/6.179, allocations: 64.88 kB / 2.852 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/6.179, allocations: 4 kB / 2.852 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/6.18, allocations: 1.529 MB / 2.854 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/6.18, allocations: 0 / 2.854 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000526/6.181, allocations: 426.9 kB / 2.854 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007275/6.182, allocations: 0.8333 MB / 2.855 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001981/6.182, allocations: 156.5 kB / 2.855 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.867e-05/6.182, allocations: 8 kB / 2.855 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004537/6.182, allocations: 27.97 kB / 2.855 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-05/6.182, allocations: 23.81 kB / 2.855 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.09e-05/6.183, allocations: 12 kB / 2.855 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002727/6.183, allocations: 283.2 kB / 2.856 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001716/6.185, allocations: 371.4 kB / 2.856 GB, free: 8.383 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001406/6.186, allocations: 1.087 MB / 2.857 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006466/6.187, allocations: 455.3 kB / 2.857 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/6.187, allocations: 4 kB / 2.857 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002125/6.187, allocations: 218.3 kB / 2.858 GB, free: 6.605 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/6.188, allocations: 228.3 kB / 2.858 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/6.189, allocations: 0.6461 MB / 2.858 GB, free: 5.703 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004099/6.19, allocations: 0.9548 MB / 2.859 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of SimCode: time 4.61e-07/6.19, allocations: 0 / 2.859 GB, free: 4.723 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)