Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.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.TestGT_ISO,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGT_ISO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGT_ISO,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGT_ISO",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.001029/0.001029, allocations: 187 kB / 8.136 MB, free: 2.184 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.004/1.004, 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.0007882/0.0007882, allocations: 90.42 kB / 261.7 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2861/0.2861, allocations: 48.75 MB / 358.4 MB, free: 53.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0931/0.3792, allocations: 66.37 MB / 424.8 MB, free: 8.121 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09103/0.4703, allocations: 60.25 MB / 485.1 MB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.085/1.555, allocations: 0.752 GB / 1.226 GB, free: 69.96 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000184/1.555, allocations: 79.95 kB / 1.226 GB, free: 69.88 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: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 1.562/3.118, allocations: 0.5663 GB / 1.792 GB, free: 79.15 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/3.118, allocations: 9.406 kB / 1.792 GB, free: 79.15 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/3.119, allocations: 227.8 kB / 1.792 GB, free: 79.07 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/3.12, allocations: 0.7956 MB / 1.793 GB, free: 78.62 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.297e-05/3.12, allocations: 28.84 kB / 1.793 GB, free: 78.62 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/3.12, allocations: 56 kB / 1.793 GB, free: 78.62 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001387/3.122, allocations: 0.8529 MB / 1.794 GB, free: 78.32 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/3.123, allocations: 1.076 MB / 1.795 GB, free: 77.86 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.044e-05/3.123, allocations: 6.719 kB / 1.795 GB, free: 77.86 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/3.124, allocations: 3.406 kB / 1.795 GB, free: 77.86 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.911e-05/3.124, allocations: 42.09 kB / 1.795 GB, free: 77.85 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006681/3.13, allocations: 4.823 MB / 1.8 GB, free: 74.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006012/3.131, allocations: 381.9 kB / 1.8 GB, free: 74.38 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/3.131, allocations: 169.9 kB / 1.8 GB, free: 74.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.912e-05/3.131, allocations: 13.84 kB / 1.8 GB, free: 74.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/3.131, allocations: 49.73 kB / 1.8 GB, free: 74.26 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 2.545e-06/3.131, allocations: 0 / 1.8 GB, free: 74.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=40): time 0.001113/3.132, allocations: 0.504 MB / 1.801 GB, free: 74.06 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/3.132, allocations: 133.4 kB / 1.801 GB, free: 73.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/3.133, allocations: 0.948 MB / 1.802 GB, free: 73.55 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.452e-05/3.134, allocations: 29.02 kB / 1.802 GB, free: 73.52 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/3.134, allocations: 454.8 kB / 1.802 GB, free: 73.19 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.453e-05/3.134, allocations: 141.7 kB / 1.803 GB, free: 73.08 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/3.134, allocations: 2.969 kB / 1.803 GB, free: 73.08 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.121e-05/3.134, allocations: 324 kB / 1.803 GB, free: 72.77 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/3.134, allocations: 223.2 kB / 1.803 GB, free: 72.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003288/3.135, allocations: 426.3 kB / 1.804 GB, free: 72.36 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004065/3.135, allocations: 283.7 kB / 1.804 GB, free: 72.28 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/3.135, allocations: 0 / 1.804 GB, free: 72.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001227/3.136, allocations: 0.8102 MB / 1.805 GB, free: 71.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004295/3.137, allocations: 2.431 MB / 1.807 GB, free: 69.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/3.137, allocations: 5.75 kB / 1.807 GB, free: 69.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008729/3.138, allocations: 209.6 kB / 1.807 GB, free: 69.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005861/3.138, allocations: 140.4 kB / 1.807 GB, free: 69.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/3.139, allocations: 1.506 MB / 1.809 GB, free: 68.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006871/3.14, allocations: 81.25 kB / 1.809 GB, free: 68.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.205e-05/3.14, allocations: 33.86 kB / 1.809 GB, free: 68.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/3.14, allocations: 8.25 kB / 1.809 GB, free: 68.05 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001162/3.141, allocations: 0.6363 MB / 1.81 GB, free: 67.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/3.141, allocations: 6.594 kB / 1.81 GB, free: 67.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003767/3.142, allocations: 82.56 kB / 1.81 GB, free: 67.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006469/3.142, allocations: 157.8 kB / 1.81 GB, free: 67.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008598/3.143, allocations: 1.862 MB / 1.812 GB, free: 66.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005601/3.144, allocations: 62.44 kB / 1.812 GB, free: 66.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.184e-05/3.144, allocations: 32.16 kB / 1.812 GB, free: 66.04 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: GT.ZLPout_ISO:VARIABLE(unit = "W" ) "zero_loss power output, referred to ISO conditions " type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 60 * 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: 1 * 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: 0 * Non-linear torn systems: 1 {4 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002192/3.144, allocations: 130 kB / 1.812 GB, free: 65.91 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/3.144, allocations: 87 kB / 1.812 GB, free: 65.87 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/3.145, allocations: 0.5674 MB / 1.812 GB, free: 65.64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/3.145, allocations: 3.031 kB / 1.812 GB, free: 65.64 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/3.145, allocations: 3.156 kB / 1.812 GB, free: 65.64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/3.145, allocations: 3.844 kB / 1.812 GB, free: 65.64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/3.147, allocations: 0.9672 MB / 1.813 GB, free: 65.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/3.147, allocations: 3.094 kB / 1.813 GB, free: 65.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003552/3.147, allocations: 64.98 kB / 1.813 GB, free: 65.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007209/3.148, allocations: 200.8 kB / 1.814 GB, free: 65.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/3.148, allocations: 2.969 kB / 1.814 GB, free: 65.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009574/3.149, allocations: 1.452 MB / 1.815 GB, free: 63.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/3.149, allocations: 0.7188 kB / 1.815 GB, free: 63.87 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001251/3.15, allocations: 0.8606 MB / 1.816 GB, free: 63.41 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001559/3.152, allocations: 1.462 MB / 1.817 GB, free: 62.47 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000417/3.152, allocations: 269.1 kB / 1.818 GB, free: 62.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/3.152, allocations: 3.031 kB / 1.818 GB, free: 62.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007487/3.153, allocations: 57.45 kB / 1.818 GB, free: 62.29 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.569e-05/3.153, allocations: 20.84 kB / 1.818 GB, free: 62.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.063e-05/3.153, allocations: 34.61 kB / 1.818 GB, free: 62.28 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0006382/3.154, allocations: 0.7147 MB / 1.818 GB, free: 62 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002803/3.157, allocations: 0.8212 MB / 1.819 GB, free: 61.68 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ConstantSpeed1.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * 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: 1 * 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: 0 * Non-linear torn systems: 1 {4 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001968/3.159, allocations: 1.396 MB / 1.821 GB, free: 61.34 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001594/3.16, allocations: 0.9137 MB / 1.821 GB, free: 61.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/3.16, allocations: 3.344 kB / 1.821 GB, free: 61.05 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000486/3.161, allocations: 220.6 kB / 1.822 GB, free: 60.99 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/3.162, allocations: 250.1 kB / 1.822 GB, free: 60.92 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/3.164, allocations: 1.437 MB / 1.823 GB, free: 60.36 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007936/3.165, allocations: 1.206 MB / 1.824 GB, free: 59.59 MB / 0.5105 GB Notification: Performance of SimCode: time 4.7e-07/3.165, allocations: 0 / 1.824 GB, free: 59.59 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGT_ISO_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGT_ISO.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.pipe 2>&1)