Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.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.TestGasMixer,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasMixer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasMixer,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasMixer",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.0009331/0.0009332, allocations: 179.5 kB / 8.135 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9953/0.9953, allocations: 205.2 MB / 213.7 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008654/0.0008654, allocations: 99.34 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2842/0.2842, allocations: 48.76 MB / 358.5 MB, free: 53.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09289/0.3772, allocations: 66.36 MB / 424.8 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09138/0.4686, allocations: 60.25 MB / 485.1 MB, free: 11.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.036/1.505, allocations: 0.719 GB / 1.193 GB, free: 88.17 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/1.505, allocations: 79.95 kB / 1.193 GB, free: 88.09 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 1.004/2.51, allocations: 403.1 MB / 1.586 GB, free: 88.31 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.755e-05/2.51, allocations: 13.66 kB / 1.586 GB, free: 88.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007856/2.51, allocations: 170.9 kB / 1.587 GB, free: 88.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009954/2.511, allocations: 0.6206 MB / 1.587 GB, free: 87.75 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/2.511, allocations: 24.81 kB / 1.587 GB, free: 87.75 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-05/2.511, allocations: 46.62 kB / 1.587 GB, free: 87.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001045/2.513, allocations: 0.7871 MB / 1.588 GB, free: 87.39 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/2.514, allocations: 0.8879 MB / 1.589 GB, free: 86.91 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/2.514, allocations: 6.719 kB / 1.589 GB, free: 86.91 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.775e-05/2.514, allocations: 0 / 1.589 GB, free: 86.91 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/2.514, allocations: 19.03 kB / 1.589 GB, free: 86.91 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004665/2.519, allocations: 3.875 MB / 1.593 GB, free: 83.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/2.52, allocations: 0.6116 MB / 1.593 GB, free: 83.28 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003903/2.52, allocations: 313.3 kB / 1.594 GB, free: 83.14 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.87e-05/2.52, allocations: 16.39 kB / 1.594 GB, free: 83.13 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/2.52, allocations: 45.44 kB / 1.594 GB, free: 83.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=61): time 2.244e-06/2.52, allocations: 0 / 1.594 GB, free: 83.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=67): time 0.006233/2.526, allocations: 2.292 MB / 1.596 GB, free: 81.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/2.526, allocations: 119 kB / 1.596 GB, free: 81.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003473/2.527, allocations: 374.8 kB / 1.596 GB, free: 81.32 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.674e-05/2.527, allocations: 27.64 kB / 1.596 GB, free: 81.29 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/2.527, allocations: 327.3 kB / 1.597 GB, free: 81 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/2.527, allocations: 228.9 kB / 1.597 GB, free: 80.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/2.527, allocations: 0 / 1.597 GB, free: 80.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.867e-05/2.527, allocations: 364.8 kB / 1.597 GB, free: 80.45 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004327/2.528, allocations: 315.7 kB / 1.598 GB, free: 80.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004685/2.528, allocations: 413 kB / 1.598 GB, free: 80.05 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006304/2.529, allocations: 372.2 kB / 1.598 GB, free: 79.86 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/2.529, allocations: 4.031 kB / 1.598 GB, free: 79.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002308/2.531, allocations: 1.17 MB / 1.599 GB, free: 79.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001152/2.531, allocations: 0.7858 MB / 1.6 GB, free: 78.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/2.531, allocations: 2.812 kB / 1.6 GB, free: 78.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002938/2.534, allocations: 0.7542 MB / 1.601 GB, free: 78.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005692/2.535, allocations: 121.9 kB / 1.601 GB, free: 78.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/2.537, allocations: 1.599 MB / 1.603 GB, free: 77.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009296/2.538, allocations: 104.5 kB / 1.603 GB, free: 77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.882e-05/2.538, allocations: 37.45 kB / 1.603 GB, free: 76.99 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.175e-06/2.538, allocations: 8.531 kB / 1.603 GB, free: 76.99 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002/2.54, allocations: 0.8959 MB / 1.604 GB, free: 76.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/2.54, allocations: 0 / 1.604 GB, free: 76.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001527/2.542, allocations: 436 kB / 1.604 GB, free: 75.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007153/2.542, allocations: 175.8 kB / 1.604 GB, free: 75.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/2.544, allocations: 2.315 MB / 1.606 GB, free: 73.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007777/2.545, allocations: 95.91 kB / 1.607 GB, free: 73.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-05/2.545, allocations: 31.98 kB / 1.607 GB, free: 73.26 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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 {8 33} Notification: Performance of prepare postOptimizeDAE: time 0.0002287/2.545, allocations: 121.1 kB / 1.607 GB, free: 73.14 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/2.545, allocations: 71.25 kB / 1.607 GB, free: 73.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/2.547, allocations: 0.8958 MB / 1.608 GB, free: 72.16 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/2.547, allocations: 8 kB / 1.608 GB, free: 72.15 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/2.547, allocations: 0 / 1.608 GB, free: 72.15 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/2.547, allocations: 3.984 kB / 1.608 GB, free: 72.15 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002621/2.55, allocations: 1.826 MB / 1.609 GB, free: 70.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/2.55, allocations: 3.938 kB / 1.609 GB, free: 70.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009689/2.551, allocations: 183.9 kB / 1.61 GB, free: 70.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009205/2.552, allocations: 262.9 kB / 1.61 GB, free: 69.82 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.885e-05/2.552, allocations: 15.98 kB / 1.61 GB, free: 69.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/2.553, allocations: 2.744 MB / 1.613 GB, free: 66.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/2.553, allocations: 0 / 1.613 GB, free: 66.89 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00161/2.555, allocations: 1.32 MB / 1.614 GB, free: 65.52 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0021/2.557, allocations: 2.119 MB / 1.616 GB, free: 63.34 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/2.557, allocations: 140.2 kB / 1.616 GB, free: 63.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/2.557, allocations: 7.938 kB / 1.616 GB, free: 63.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009011/2.558, allocations: 83.91 kB / 1.616 GB, free: 63.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.863e-05/2.558, allocations: 56.48 kB / 1.616 GB, free: 63.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/2.558, allocations: 47.95 kB / 1.616 GB, free: 62.99 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0002239/2.559, allocations: 283.2 kB / 1.617 GB, free: 62.72 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002736/2.561, allocations: 0.6991 MB / 1.617 GB, free: 62.02 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (Mixer1.gas.p,Mixer1.gas.Xi[1],Mixer1.gas.Xi[2],Mixer1.gas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {3 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.001986/2.563, allocations: 1.25 MB / 1.618 GB, free: 60.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002569/2.566, allocations: 1.375 MB / 1.62 GB, free: 59.56 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/2.566, allocations: 4.656 kB / 1.62 GB, free: 59.55 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007473/2.567, allocations: 0.5202 MB / 1.62 GB, free: 59.02 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/2.568, allocations: 298.4 kB / 1.621 GB, free: 58.73 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/2.57, allocations: 1.321 MB / 1.622 GB, free: 57.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005974/2.571, allocations: 1.099 MB / 1.623 GB, free: 56.27 MB / 0.5105 GB Notification: Performance of SimCode: time 2.81e-07/2.571, allocations: 7.938 kB / 1.623 GB, free: 56.27 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGasMixer_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGasMixer.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.pipe 2>&1)