Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasValveOpPoint,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasValveOpPoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasValveOpPoint,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasValveOpPoint",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 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 179.5 kB / 8.131 MB, free: 2.707 MB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.014/1.014, allocations: 205.2 MB / 213.7 MB, free: 2.145 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008432/0.0008431, allocations: 94.11 kB / 261.7 MB, free: 1.395 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.1851/0.1851, allocations: 48.77 MB / 358.5 MB, free: 488 kB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1551/0.3402, allocations: 66.36 MB / 424.8 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07475/0.4149, allocations: 60.24 MB / 485.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.055/1.47, allocations: 0.7193 GB / 1.193 GB, free: 102.7 MB / 0.5137 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001981/1.47, allocations: 78.7 kB / 1.193 GB, free: 102.7 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 1.963/3.433, allocations: 0.7552 GB / 1.948 GB, free: 74.41 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/3.433, allocations: 7.656 kB / 1.948 GB, free: 74.41 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001586/3.434, allocations: 314.1 kB / 1.949 GB, free: 74.32 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/3.436, allocations: 0.868 MB / 1.949 GB, free: 74.07 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.214e-05/3.436, allocations: 48.81 kB / 1.949 GB, free: 74.07 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002203/3.436, allocations: 79.88 kB / 1.95 GB, free: 74.07 MB / 0.5137 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001941/3.438, allocations: 1.274 MB / 1.951 GB, free: 74.06 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002366/3.441, allocations: 1.504 MB / 1.952 GB, free: 73.96 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/3.441, allocations: 0 / 1.952 GB, free: 73.96 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001959/3.441, allocations: 2.719 kB / 1.952 GB, free: 73.96 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/3.441, allocations: 32.03 kB / 1.952 GB, free: 73.96 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007466/3.448, allocations: 5.151 MB / 1.957 GB, free: 71.86 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/3.45, allocations: 0.7587 MB / 1.958 GB, free: 71.81 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003201/3.45, allocations: 254.5 kB / 1.958 GB, free: 71.79 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.833e-05/3.45, allocations: 11.66 kB / 1.958 GB, free: 71.79 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/3.451, allocations: 58.33 kB / 1.958 GB, free: 71.74 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 2.274e-06/3.451, allocations: 0 / 1.958 GB, free: 71.74 MB / 0.5137 GB Notification: Performance of matching and sorting (n=62): time 0.002145/3.453, allocations: 0.789 MB / 1.959 GB, free: 71.64 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/3.453, allocations: 86.61 kB / 1.959 GB, free: 71.54 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007057/3.453, allocations: 0.7008 MB / 1.96 GB, free: 71.41 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001288/3.454, allocations: 29.67 kB / 1.96 GB, free: 71.38 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/3.454, allocations: 0.5406 MB / 1.96 GB, free: 71.13 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/3.454, allocations: 206.3 kB / 1.961 GB, free: 71.02 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.478e-05/3.454, allocations: 0 / 1.961 GB, free: 71.02 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.698e-05/3.454, allocations: 392.7 kB / 1.961 GB, free: 70.71 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004644/3.455, allocations: 352.2 kB / 1.961 GB, free: 70.71 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000503/3.455, allocations: 0.4891 MB / 1.962 GB, free: 70.56 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009716/3.456, allocations: 444.4 kB / 1.962 GB, free: 70.55 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/3.456, allocations: 3.719 kB / 1.962 GB, free: 70.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002071/3.458, allocations: 1.163 MB / 1.963 GB, free: 70.44 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002595/3.458, allocations: 1.57 MB / 1.965 GB, free: 68.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/3.458, allocations: 7.031 kB / 1.965 GB, free: 68.81 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00225/3.461, allocations: 389.1 kB / 1.965 GB, free: 68.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/3.462, allocations: 245.6 kB / 1.966 GB, free: 68.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/3.464, allocations: 3.971 MB / 1.969 GB, free: 65.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/3.465, allocations: 167.4 kB / 1.97 GB, free: 65.35 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/3.465, allocations: 49.2 kB / 1.97 GB, free: 65.35 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.805e-06/3.465, allocations: 6.875 kB / 1.97 GB, free: 65.35 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001838/3.467, allocations: 0.9315 MB / 1.971 GB, free: 65.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/3.467, allocations: 7.906 kB / 1.971 GB, free: 65.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000421/3.468, allocations: 110.4 kB / 1.971 GB, free: 65.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/3.469, allocations: 315.1 kB / 1.971 GB, free: 65.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002873/3.472, allocations: 5.348 MB / 1.976 GB, free: 60.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/3.473, allocations: 146.8 kB / 1.976 GB, free: 60.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/3.473, allocations: 49.72 kB / 1.976 GB, free: 60.38 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 12,1 12} Notification: Performance of prepare postOptimizeDAE: time 0.000315/3.473, allocations: 121.6 kB / 1.977 GB, free: 60.26 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/3.474, allocations: 97.88 kB / 1.977 GB, free: 60.22 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/3.476, allocations: 0.832 MB / 1.977 GB, free: 60.12 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/3.476, allocations: 7.5 kB / 1.977 GB, free: 60.12 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/3.476, allocations: 2.844 kB / 1.977 GB, free: 60.12 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/3.476, allocations: 7.797 kB / 1.977 GB, free: 60.12 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003639/3.479, allocations: 2.002 MB / 1.979 GB, free: 59.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/3.479, allocations: 7.719 kB / 1.979 GB, free: 59.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004766/3.48, allocations: 120.7 kB / 1.98 GB, free: 59.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001635/3.481, allocations: 379.3 kB / 1.98 GB, free: 59.66 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.158e-05/3.482, allocations: 18.19 kB / 1.98 GB, free: 59.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00194/3.483, allocations: 3.93 MB / 1.984 GB, free: 56.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/3.483, allocations: 3.938 kB / 1.984 GB, free: 56.27 MB / 0.5137 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001858/3.485, allocations: 1.051 MB / 1.985 GB, free: 55.82 MB / 0.5137 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001811/3.487, allocations: 1.478 MB / 1.986 GB, free: 54.99 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002801/3.487, allocations: 189.5 kB / 1.986 GB, free: 54.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/3.488, allocations: 3.562 kB / 1.986 GB, free: 54.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/3.489, allocations: 116.8 kB / 1.986 GB, free: 54.84 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.063e-05/3.489, allocations: 44.83 kB / 1.987 GB, free: 54.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001658/3.489, allocations: 64.66 kB / 1.987 GB, free: 54.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 0.0005081/3.49, allocations: 0.5189 MB / 1.987 GB, free: 54.74 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004107/3.494, allocations: 1.194 MB / 1.988 GB, free: 54.56 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 13,1 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.002435/3.496, allocations: 1.411 MB / 1.99 GB, free: 54.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002752/3.499, allocations: 1.512 MB / 1.991 GB, free: 54.12 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/3.499, allocations: 4.531 kB / 1.991 GB, free: 54.11 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000747/3.5, allocations: 337.2 kB / 1.991 GB, free: 54.11 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/3.502, allocations: 357 kB / 1.992 GB, free: 54.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003343/3.505, allocations: 1.546 MB / 1.993 GB, free: 53.62 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009279/3.506, allocations: 1.311 MB / 1.995 GB, free: 52.9 MB / 0.5137 GB Notification: Performance of SimCode: time 5.21e-07/3.506, allocations: 0 / 1.995 GB, free: 52.9 MB / 0.5137 GB (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGasValveOpPoint_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGasValveOpPoint.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.pipe 2>&1)