Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.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/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/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(ThermofluidStream.Undirected.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_ConductionElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_ConductionElement",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.004728/0.004728, allocations: 178.5 kB / 7.455 MB, free: 2.508 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.961/1.961, allocations: 205.2 MB / 213.1 MB, free: 14 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.000996/0.0009958, allocations: 89.69 kB / 261.1 MB, free: 13.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 1.041/1.041, allocations: 90.35 MB / 399.4 MB, free: 12.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1559/1.197, allocations: 72.39 MB / 471.8 MB, free: 3.715 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5138/1.711, allocations: 66.26 MB / 0.5254 GB, free: 28.92 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8518/2.563, allocations: 284.4 MB / 0.8031 GB, free: 32.31 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005232/2.564, allocations: 81.81 kB / 0.8032 GB, free: 32.27 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 3.977/6.541, allocations: 1.024 GB / 1.827 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/6.541, allocations: 8.5 kB / 1.827 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002954/6.544, allocations: 357.3 kB / 1.828 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002257/6.546, allocations: 0.9345 MB / 1.829 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.698e-05/6.546, allocations: 52 kB / 1.829 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002124/6.546, allocations: 99.89 kB / 1.829 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001845/6.548, allocations: 0.9119 MB / 1.83 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/6.551, allocations: 1.282 MB / 1.831 GB, free: 4.84 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.224e-05/6.551, allocations: 7.984 kB / 1.831 GB, free: 4.832 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/6.551, allocations: 0 / 1.831 GB, free: 4.832 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.337e-05/6.551, allocations: 44 kB / 1.831 GB, free: 4.789 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01313/6.564, allocations: 7.358 MB / 1.838 GB, free: 12.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/6.566, allocations: 0.9362 MB / 1.839 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006773/6.566, allocations: 443.5 kB / 1.839 GB, free: 11.51 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002606/6.569, allocations: 2.293 MB / 1.842 GB, free: 8.734 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.108e-05/6.569, allocations: 43.88 kB / 1.842 GB, free: 8.684 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=141): time 5.951e-06/6.569, allocations: 224 / 1.842 GB, free: 8.684 MB / 0.6042 GB Notification: Performance of matching and sorting (n=148): time 0.02709/6.596, allocations: 6.502 MB / 1.848 GB, free: 1.93 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/6.596, allocations: 64.72 kB / 1.848 GB, free: 1.855 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/6.597, allocations: 0.6774 MB / 1.849 GB, free: 1.164 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001569/6.598, allocations: 29.7 kB / 1.849 GB, free: 1.129 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004682/6.598, allocations: 0.5461 MB / 1.849 GB, free: 0.5703 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005544/6.599, allocations: 0.4926 MB / 1.85 GB, free: 72 kB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.545e-05/6.599, allocations: 0 / 1.85 GB, free: 72 kB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.42/7.019, allocations: 365.7 kB / 1.85 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/7.02, allocations: 423.5 kB / 1.851 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009094/7.021, allocations: 0.6937 MB / 1.851 GB, free: 111.6 MB / 0.6042 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement5.deltaE_system = 0.0 ($START.conductionElement5.deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement3.deltaE_system = 0.0 ($START.conductionElement3.deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement1.deltaE_system = 0.0 ($START.conductionElement1.deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement.deltaE_system = 0.0 ($START.conductionElement.deltaE_system = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.006219/7.027, allocations: 1.56 MB / 1.853 GB, free: 111.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.281e-05/7.027, allocations: 0 / 1.853 GB, free: 111.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.007882/7.035, allocations: 2.243 MB / 1.855 GB, free: 111.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.908e-05/7.035, allocations: 7 kB / 1.855 GB, free: 111.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/7.035, allocations: 12.61 kB / 1.855 GB, free: 111.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006248/7.036, allocations: 184.5 kB / 1.855 GB, free: 111 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/7.037, allocations: 353 kB / 1.856 GB, free: 111 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006694/7.044, allocations: 7.69 MB / 1.863 GB, free: 104 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/7.046, allocations: 67.58 kB / 1.863 GB, free: 104 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003167/7.046, allocations: 99.83 kB / 1.863 GB, free: 104 MB / 0.6042 GB Warning: Assuming redundant initial conditions for the following 4 initial equations: conductionElement5.deltaE_system = 0.0 conductionElement3.deltaE_system = 0.0 conductionElement1.deltaE_system = 0.0 conductionElement.deltaE_system = 0.0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (176): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000436/7.047, allocations: 147 kB / 1.863 GB, free: 103.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003407/7.047, allocations: 136.8 kB / 1.863 GB, free: 103.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/7.059, allocations: 3.817 MB / 1.867 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006903/7.066, allocations: 2.036 MB / 1.869 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.434e-05/7.066, allocations: 10.25 kB / 1.869 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/7.066, allocations: 6.562 kB / 1.869 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/7.079, allocations: 3.995 MB / 1.873 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/7.08, allocations: 6.594 kB / 1.873 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/7.081, allocations: 275.4 kB / 1.873 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000629/7.082, allocations: 178.5 kB / 1.874 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002021/7.082, allocations: 54.84 kB / 1.874 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00602/7.088, allocations: 7.699 MB / 1.881 GB, free: 96.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.015e-05/7.088, allocations: 7.031 kB / 1.881 GB, free: 96.03 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01172/7.1, allocations: 3.154 MB / 1.884 GB, free: 95.5 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01532/7.115, allocations: 4.582 MB / 1.889 GB, free: 94.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008964/7.116, allocations: 214.8 kB / 1.889 GB, free: 94.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006067/7.117, allocations: 14.16 kB / 1.889 GB, free: 94.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001547/7.118, allocations: 56.69 kB / 1.889 GB, free: 94.42 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004161/7.119, allocations: 124.3 kB / 1.889 GB, free: 94.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003356/7.119, allocations: 84.28 kB / 1.889 GB, free: 94.42 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.001069/7.12, allocations: 0.5045 MB / 1.89 GB, free: 94.31 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01401/7.134, allocations: 2.4 MB / 1.892 GB, free: 94.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 14 (conductionElement.rear.m_flow,conductionElement.h,conductionElement1.m_flow,conductionElement1.h,conductionElement2.rear.m_flow,conductionElement2.h,conductionElement2.deltaE_system,conductionElement3.rear.m_flow,conductionElement3.h,conductionElement4.rear.m_flow,conductionElement4.h,conductionElement4.deltaE_system,conductionElement5.rear.m_flow,conductionElement5.h) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 110 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01526/7.149, allocations: 2.678 MB / 1.895 GB, free: 94.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004887/7.154, allocations: 2.309 MB / 1.897 GB, free: 93.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/7.154, allocations: 0 / 1.897 GB, free: 93.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002786/7.157, allocations: 1.759 MB / 1.899 GB, free: 92.06 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/7.16, allocations: 256.4 kB / 1.899 GB, free: 92.05 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.203/7.363, allocations: 85.18 MB / 1.982 GB, free: 90.48 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002001/7.365, allocations: 1.589 MB / 1.984 GB, free: 89.71 MB / 0.6042 GB Notification: Performance of SimCode: time 2.064e-06/7.365, allocations: 3.281 kB / 1.984 GB, free: 89.71 MB / 0.6042 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_ConductionElement_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_ConductionElement.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe 2>&1)