Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility_NIST.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.GasSolubility_NIST,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_NIST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_NIST",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.07419/0.07419, allocations: 15.27 MB / 22.55 MB, free: 1.102 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009336/0.0009336, allocations: 187.4 kB / 27.31 MB, free: 6.184 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.148/1.148, allocations: 221.4 MB / 253.3 MB, free: 10.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008727/0.0008727, allocations: 88.73 kB / 308.4 MB, free: 10.62 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.198/0.1989, allocations: 60.73 MB / 369.1 MB, free: 53.65 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07626/0.2752, allocations: 54.63 MB / 423.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2694/0.5446, allocations: 102.9 MB / 0.5143 GB, free: 8.285 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000174/0.5448, allocations: 69.19 kB / 0.5144 GB, free: 8.285 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 791 * Number of variables: 791 Notification: Performance of Generate backend data structure: time 0.3485/0.8933, allocations: 140.4 MB / 0.6516 GB, free: 15.43 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.8934, allocations: 16.16 kB / 0.6516 GB, free: 15.41 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004764/0.8982, allocations: 1.066 MB / 0.6526 GB, free: 14.34 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00399/0.9022, allocations: 1.755 MB / 0.6543 GB, free: 12.57 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.571e-05/0.9023, allocations: 103.9 kB / 0.6544 GB, free: 12.46 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004429/0.9028, allocations: 191.9 kB / 0.6546 GB, free: 12.28 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01088/0.9136, allocations: 8.708 MB / 0.6631 GB, free: 3.559 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1368/1.05, allocations: 4.197 MB / 0.6672 GB, free: 97.76 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.361e-05/1.051, allocations: 0 / 0.6672 GB, free: 97.76 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002086/1.051, allocations: 3.469 kB / 0.6672 GB, free: 97.76 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-05/1.051, allocations: 76.28 kB / 0.6673 GB, free: 97.76 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02025/1.071, allocations: 15.54 MB / 0.6825 GB, free: 94.93 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003986/1.075, allocations: 4.365 MB / 0.6867 GB, free: 94.81 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001924/1.077, allocations: 2.109 MB / 0.6888 GB, free: 94.77 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008481/1.078, allocations: 0.7396 MB / 0.6895 GB, free: 94.76 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/1.078, allocations: 69.91 kB / 0.6896 GB, free: 94.71 MB / 474.7 MB Notification: Performance of pre-optimization done (n=305): time 4.218e-06/1.078, allocations: 2.594 kB / 0.6896 GB, free: 94.71 MB / 474.7 MB Notification: Performance of matching and sorting (n=416): time 0.0741/1.152, allocations: 21.02 MB / 0.7101 GB, free: 92.39 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/1.152, allocations: 145.7 kB / 0.7102 GB, free: 92.26 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002613/1.155, allocations: 2.775 MB / 0.7129 GB, free: 92.09 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005327/1.155, allocations: 25.7 kB / 0.713 GB, free: 92.06 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003618/1.156, allocations: 0.9945 MB / 0.7139 GB, free: 91.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001009/1.157, allocations: 1.342 MB / 0.7153 GB, free: 90.88 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000226/1.157, allocations: 0 / 0.7153 GB, free: 90.88 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/1.157, allocations: 474.9 kB / 0.7157 GB, free: 90.57 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003221/1.16, allocations: 3.076 MB / 0.7187 GB, free: 90.55 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003362/1.164, allocations: 3.624 MB / 0.7222 GB, free: 90.05 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009395/1.173, allocations: 4.328 MB / 0.7265 GB, free: 89.93 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.021e-05/1.173, allocations: 6.75 kB / 0.7265 GB, free: 89.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=557) (initialization): time 0.02233/1.195, allocations: 9.348 MB / 0.7356 GB, free: 89.47 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/1.196, allocations: 7.812 kB / 0.7356 GB, free: 89.47 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.064e-05/1.196, allocations: 11.66 kB / 0.7356 GB, free: 89.47 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007393/1.203, allocations: 1.084 MB / 0.7367 GB, free: 89.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004189/1.207, allocations: 0.9451 MB / 0.7376 GB, free: 89.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01427/1.222, allocations: 12.13 MB / 0.7495 GB, free: 79.94 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004874/1.226, allocations: 246.5 kB / 0.7497 GB, free: 79.93 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005886/1.227, allocations: 209 kB / 0.7499 GB, free: 79.9 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: CO2_25.solution.n:DUMMY_STATE(flow=false min = 0.0 max = 0.0 unit = "mol" ) "Amount of the solution" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: CO2_25.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: CO2_37.solution.n:DUMMY_STATE(flow=false min = 0.0 max = 0.0 unit = "mol" ) "Amount of the solution" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: CO2_37.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: CO2_0.solution.n:DUMMY_STATE(flow=false min = 0.0 max = 0.0 unit = "mol" ) "Amount of the solution" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: CO2_0.solution.I:VARIABLE(flow=false min = 0.0 max = 0.0 unit = "1" ) "Mole fraction based ionic strength of the solution" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (503): * Single equations (assignments): 488 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 6 {1 6,1 3,1 6,1 3,1 6,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0007515/1.228, allocations: 198.4 kB / 0.7501 GB, free: 79.79 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006033/1.228, allocations: 272.3 kB / 0.7503 GB, free: 79.65 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02474/1.253, allocations: 8.696 MB / 0.7588 GB, free: 77.02 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02318/1.276, allocations: 7.819 MB / 0.7665 GB, free: 74.64 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.944e-05/1.276, allocations: 3.406 kB / 0.7665 GB, free: 74.64 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.463e-05/1.277, allocations: 21.23 kB / 0.7665 GB, free: 74.64 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03769/1.314, allocations: 21.04 MB / 0.787 GB, free: 66.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.965e-05/1.314, allocations: 22.38 kB / 0.7871 GB, free: 66.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002939/1.317, allocations: 0.7137 MB / 0.7878 GB, free: 66.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01429/1.332, allocations: 2.146 MB / 0.7898 GB, free: 66.14 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006763/1.332, allocations: 87.05 kB / 0.7899 GB, free: 66.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0231/1.355, allocations: 16.67 MB / 0.8062 GB, free: 54.76 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01623/1.372, allocations: 6.747 MB / 0.8128 GB, free: 48.41 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02552/1.397, allocations: 13.58 MB / 0.8261 GB, free: 35.71 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02874/1.426, allocations: 17.5 MB / 0.8431 GB, free: 19.31 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/1.427, allocations: 447 kB / 0.8436 GB, free: 18.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000535/1.428, allocations: 40.3 kB / 0.8436 GB, free: 18.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002591/1.43, allocations: 144.2 kB / 0.8438 GB, free: 18.77 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003482/1.431, allocations: 314.1 kB / 0.8441 GB, free: 18.58 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002581/1.431, allocations: 159.5 kB / 0.8442 GB, free: 18.45 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001919/1.433, allocations: 2.173 MB / 0.8463 GB, free: 16.45 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00843/1.441, allocations: 2.901 MB / 0.8492 GB, free: 13.92 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 96 * Number of states: 12 ($STATESET3.x[4],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[4],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (395): * Single equations (assignments): 386 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 6 {1 6,5 8,1 6,5 8,1 6,5 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.003874/1.445, allocations: 2.488 MB / 0.8516 GB, free: 12.16 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008924/1.454, allocations: 7.196 MB / 0.8586 GB, free: 5.504 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.519e-05/1.454, allocations: 4 kB / 0.8586 GB, free: 5.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00534/1.46, allocations: 3.87 MB / 0.8624 GB, free: 1.918 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003129/1.463, allocations: 461.1 kB / 0.8628 GB, free: 1.578 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2017/1.664, allocations: 6.607 MB / 0.8693 GB, free: 91.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002955/1.667, allocations: 2.417 MB / 0.8716 GB, free: 90.31 MB / 474.7 MB Notification: Performance of SimCode: time 1.233e-06/1.667, allocations: 0 / 0.8716 GB, free: 90.31 MB / 474.7 MB (rm -f Chemical_Chemical.Examples.GasSolubility_NIST.pipe ; mkfifo Chemical_Chemical.Examples.GasSolubility_NIST.pipe ; head -c 1048576 < Chemical_Chemical.Examples.GasSolubility_NIST.pipe >> ../files/Chemical_Chemical.Examples.GasSolubility_NIST.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_GasSolubility_NIST_fmu --startTime=0 --stopTime=1e-05 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_GasSolubility_NIST.fmu > Chemical_Chemical.Examples.GasSolubility_NIST.pipe 2>&1)