Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.WaterVaporization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: "" <> buildModelFMU(Chemical.Examples.WaterVaporization,fileNamePrefix="Chemical_Chemical_Examples_WaterVaporization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterVaporization,fileNamePrefix="Chemical_Chemical_Examples_WaterVaporization",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/Chemical 1.4.0-master/package.mo): time 0.07917/0.07917, allocations: 15.26 MB / 22.54 MB, free: 444 kB / 16.05 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009479/0.0009477, allocations: 185.4 kB / 27.31 MB, free: 0.9883 MB / 21.41 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.099/1.099, allocations: 221.4 MB / 253.3 MB, free: 10.14 MB / 210.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008077/0.0008076, allocations: 90.28 kB / 308.4 MB, free: 5.223 MB / 242.8 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.09905/0.09988, allocations: 60.76 MB / 369.1 MB, free: 8.41 MB / 306.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.2887, allocations: 54.62 MB / 423.8 MB, free: 25.77 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1105/0.3992, allocations: 102.7 MB / 0.5141 GB, free: 2.887 MB / 386.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001881/0.3995, allocations: 67.97 kB / 0.5142 GB, free: 2.82 MB / 386.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.2307/0.6302, allocations: 44.02 MB / 0.5572 GB, free: 67.57 MB / 386.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.6302, allocations: 8 kB / 0.5572 GB, free: 67.56 MB / 386.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/0.6316, allocations: 373.5 kB / 0.5576 GB, free: 67.19 MB / 386.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.633, allocations: 0.7327 MB / 0.5583 GB, free: 66.41 MB / 386.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.315e-05/0.6331, allocations: 40.44 kB / 0.5583 GB, free: 66.38 MB / 386.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002151/0.6333, allocations: 83.89 kB / 0.5584 GB, free: 66.29 MB / 386.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002934/0.6363, allocations: 2.566 MB / 0.5609 GB, free: 63.72 MB / 386.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001943/0.6382, allocations: 1.455 MB / 0.5623 GB, free: 62.23 MB / 386.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.6383, allocations: 7.922 kB / 0.5623 GB, free: 62.22 MB / 386.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.918e-05/0.6383, allocations: 4 kB / 0.5623 GB, free: 62.22 MB / 386.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.6384, allocations: 32 kB / 0.5624 GB, free: 62.19 MB / 386.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007095/0.6455, allocations: 5.489 MB / 0.5677 GB, free: 56.48 MB / 386.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.6472, allocations: 1.745 MB / 0.5694 GB, free: 54.73 MB / 386.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007778/0.648, allocations: 0.7925 MB / 0.5702 GB, free: 53.93 MB / 386.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003796/0.6484, allocations: 316.5 kB / 0.5705 GB, free: 53.62 MB / 386.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.6484, allocations: 47.56 kB / 0.5705 GB, free: 53.57 MB / 386.8 MB Notification: Performance of pre-optimization done (n=114): time 3.777e-06/0.6484, allocations: 0 / 0.5705 GB, free: 53.57 MB / 386.8 MB Notification: Performance of matching and sorting (n=146): time 0.02736/0.6758, allocations: 6.923 MB / 0.5773 GB, free: 46.58 MB / 386.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.6759, allocations: 64.72 kB / 0.5774 GB, free: 46.51 MB / 386.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005181/0.6764, allocations: 462 kB / 0.5778 GB, free: 46.05 MB / 386.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000144/0.6766, allocations: 25.7 kB / 0.5778 GB, free: 46.02 MB / 386.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.6767, allocations: 435.9 kB / 0.5782 GB, free: 45.59 MB / 386.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003327/0.6771, allocations: 472.7 kB / 0.5787 GB, free: 45.12 MB / 386.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.358e-05/0.6771, allocations: 0 / 0.5787 GB, free: 45.12 MB / 386.8 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.6773, allocations: 398.7 kB / 0.5791 GB, free: 44.72 MB / 386.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009698/0.6782, allocations: 0.8513 MB / 0.5799 GB, free: 43.87 MB / 386.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.6793, allocations: 1.074 MB / 0.581 GB, free: 42.71 MB / 386.8 MB Notification: It was not possible to analyze the given system symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.03068/0.71, allocations: 4.098 MB / 0.585 GB, free: 38.61 MB / 386.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.71, allocations: 0 / 0.585 GB, free: 38.61 MB / 386.8 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.008781/0.7188, allocations: 2.873 MB / 0.5878 GB, free: 35.71 MB / 386.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.7188, allocations: 4 kB / 0.5878 GB, free: 35.71 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.7189, allocations: 8 kB / 0.5878 GB, free: 35.7 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004725/0.7236, allocations: 0.6766 MB / 0.5884 GB, free: 35.02 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.7249, allocations: 311.5 kB / 0.5887 GB, free: 34.71 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007522/0.7325, allocations: 5.531 MB / 0.5941 GB, free: 28.89 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.7337, allocations: 67.84 kB / 0.5942 GB, free: 28.83 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001876/0.7339, allocations: 63.97 kB / 0.5943 GB, free: 28.77 MB / 386.8 MB Warning: Assuming redundant initial conditions for the following 1 initial equations: liquid.temperature = liquid.temperature_start Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: H2O_gaseuous.solution.I:VARIABLE(flow=false min = 0.0 max = 0.0 unit = "1" ) "Mole fraction based ionic strength of the solution" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: liquidWater.z:DUMMY_STATE(unit = "1" protected = true ) "Charge number of ion" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 154 * Array equations: 2 * 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: 1 {(2,100.0%) 12} * Non-linear torn systems: 3 {1 1,1 2,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002955/0.7342, allocations: 144.5 kB / 0.5944 GB, free: 28.62 MB / 386.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/0.7344, allocations: 90.88 kB / 0.5945 GB, free: 28.53 MB / 386.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009775/0.7441, allocations: 2.997 MB / 0.5974 GB, free: 25.51 MB / 386.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00898/0.7531, allocations: 2.66 MB / 0.6 GB, free: 22.82 MB / 386.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/0.7532, allocations: 4 kB / 0.6 GB, free: 22.82 MB / 386.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.7532, allocations: 11.97 kB / 0.6 GB, free: 22.81 MB / 386.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01196/0.7652, allocations: 5.388 MB / 0.6053 GB, free: 17.29 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.7652, allocations: 4 kB / 0.6053 GB, free: 17.29 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009871/0.7662, allocations: 251.6 kB / 0.6055 GB, free: 17.04 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006594/0.7728, allocations: 0.788 MB / 0.6063 GB, free: 16.24 MB / 386.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001526/0.773, allocations: 19.98 kB / 0.6063 GB, free: 16.22 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008105/0.7811, allocations: 5.687 MB / 0.6119 GB, free: 10.24 MB / 386.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004508/0.7856, allocations: 1.96 MB / 0.6138 GB, free: 8.148 MB / 386.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01057/0.7962, allocations: 4.412 MB / 0.6181 GB, free: 3.566 MB / 386.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01226/0.8085, allocations: 6.076 MB / 0.624 GB, free: 13.32 MB / 402.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000342/0.8089, allocations: 160 kB / 0.6242 GB, free: 13.14 MB / 402.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/0.8091, allocations: 15.98 kB / 0.6242 GB, free: 13.12 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008624/0.8099, allocations: 47.86 kB / 0.6242 GB, free: 13.08 MB / 402.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.8101, allocations: 89.17 kB / 0.6243 GB, free: 12.99 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.8102, allocations: 51.98 kB / 0.6244 GB, free: 12.94 MB / 402.8 MB Notification: Performance of sort global known variables: time 0.0004062/0.8106, allocations: 350.8 kB / 0.6247 GB, free: 12.6 MB / 402.8 MB Notification: Performance of remove unused functions: time 0.002576/0.8132, allocations: 0.7339 MB / 0.6254 GB, free: 11.86 MB / 402.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],H2O_gaseuous.logn,otherSubstances.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 133 * 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: 1 {(2,100.0%) 12} * Non-linear torn systems: 3 {1 4,1 1,3 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001536/0.8147, allocations: 0.7254 MB / 0.6261 GB, free: 11.13 MB / 402.8 MB Notification: Performance of simCode: created initialization part: time 0.003578/0.8183, allocations: 2.287 MB / 0.6284 GB, free: 8.828 MB / 402.8 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.8184, allocations: 0 / 0.6284 GB, free: 8.828 MB / 402.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001821/0.8202, allocations: 1.313 MB / 0.6297 GB, free: 7.496 MB / 402.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009674/0.8212, allocations: 149.6 kB / 0.6298 GB, free: 7.352 MB / 402.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004089/0.8253, allocations: 2.205 MB / 0.632 GB, free: 5.055 MB / 402.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/0.8264, allocations: 1.267 MB / 0.6332 GB, free: 3.758 MB / 402.8 MB Notification: Performance of SimCode: time 1.893e-06/0.8264, allocations: 0 / 0.6332 GB, free: 3.758 MB / 402.8 MB (rm -f Chemical_Chemical.Examples.WaterVaporization.pipe ; mkfifo Chemical_Chemical.Examples.WaterVaporization.pipe ; head -c 1048576 < Chemical_Chemical.Examples.WaterVaporization.pipe >> ../files/Chemical_Chemical.Examples.WaterVaporization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_WaterVaporization_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-08 Chemical_Chemical_Examples_WaterVaporization.fmu > Chemical_Chemical.Examples.WaterVaporization.pipe 2>&1)