Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo", uses=false) loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) Using package ClaRa with version 1.8.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo) Using package TILMedia with version 1.8.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo) 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) Running command: "" <> buildModelFMU(ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort,fileNamePrefix="ClaRa_dev_ClaRa_Components_Adapters_Check_TestScalar2VectorHeatPort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort,fileNamePrefix="ClaRa_dev_ClaRa_Components_Adapters_Check_TestScalar2VectorHeatPort",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 4.0.0+maint.om/package.mo): time 0.003343/0.003343, allocations: 178.3 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 221.4 MB / 229.3 MB, free: 3 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009521/0.000952, allocations: 97.66 kB / 280.1 MB, free: 1.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.0946/0.0946, allocations: 20.17 MB / 351.1 MB, free: 10.3 MB / 298.7 MB [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Components/Sensors/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: TinySensorGas_L1_O2dry [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/Fundamentals/PressureLoss/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: TubeType_L2 TubeType_L3 ShellType_L2 ShellType_L3 [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/Fundamentals/HeatTransport/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: TubeType_L2 TubeType_L3 ShellType_L2 ShellType_L3 [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/FluidVolumes/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: VolumeVLE_2 VolumeVLE_3_TwoZones Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 1.13/1.13, allocations: 127.6 MB / 0.5229 GB, free: 4.727 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.24/1.37, allocations: 89.71 MB / 0.6105 GB, free: 10.84 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5705/1.941, allocations: 82.83 MB / 0.6914 GB, free: 33.91 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1844/2.125, allocations: 129.5 MB / 0.8178 GB, free: 12.14 MB / 0.5574 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003825/2.126, allocations: 91.12 kB / 0.8179 GB, free: 12.06 MB / 0.5574 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 687 * Number of variables: 687 Notification: Performance of Generate backend data structure: time 0.54/2.666, allocations: 61.9 MB / 0.8783 GB, free: 187.8 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/2.666, allocations: 8.406 kB / 0.8783 GB, free: 187.8 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002079/2.668, allocations: 324.7 kB / 0.8787 GB, free: 187.6 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006377/2.674, allocations: 1.594 MB / 0.8802 GB, free: 187.3 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002941/2.675, allocations: 117.7 kB / 0.8803 GB, free: 187.3 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001196/2.676, allocations: 135.2 kB / 0.8805 GB, free: 187.3 MB / 0.6043 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006847/2.683, allocations: 3.336 MB / 0.8837 GB, free: 187.3 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005794/2.689, allocations: 3.945 MB / 0.8876 GB, free: 186.2 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.182e-05/2.689, allocations: 30.92 kB / 0.8876 GB, free: 186.2 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002404/2.689, allocations: 9.406 kB / 0.8876 GB, free: 186.2 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002796/2.689, allocations: 303.3 kB / 0.8879 GB, free: 186.2 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02379/2.713, allocations: 18.7 MB / 0.9062 GB, free: 174 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002395/2.715, allocations: 1.27 MB / 0.9074 GB, free: 174 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001522/2.717, allocations: 1.005 MB / 0.9084 GB, free: 173.9 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001432/2.717, allocations: 28.38 kB / 0.9084 GB, free: 173.9 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/2.717, allocations: 51 kB / 0.9085 GB, free: 173.9 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=136): time 4.348e-06/2.717, allocations: 3.5 kB / 0.9085 GB, free: 173.9 MB / 0.6043 GB Notification: Performance of matching and sorting (n=136): time 0.008781/2.726, allocations: 2.574 MB / 0.911 GB, free: 173.7 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.112e-05/2.726, allocations: 273.4 kB / 0.9112 GB, free: 173.4 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003242/2.729, allocations: 1.663 MB / 0.9129 GB, free: 173.1 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.0002567/2.73, allocations: 29.36 kB / 0.9129 GB, free: 173.1 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007368/2.73, allocations: 1.119 MB / 0.914 GB, free: 172.4 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006267/2.731, allocations: 488.3 kB / 0.9144 GB, free: 172.1 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002369/2.731, allocations: 0 / 0.9144 GB, free: 172.1 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001621/2.731, allocations: 409 kB / 0.9148 GB, free: 171.8 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001631/2.733, allocations: 1.097 MB / 0.9159 GB, free: 171.8 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002077/2.735, allocations: 2.08 MB / 0.9179 GB, free: 170.5 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002054/2.737, allocations: 1.423 MB / 0.9193 GB, free: 170.5 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.48e-05/2.737, allocations: 15.25 kB / 0.9193 GB, free: 170.5 MB / 0.6043 GB Notification: Performance of matching and sorting (n=313) (initialization): time 0.01408/2.751, allocations: 4.06 MB / 0.9233 GB, free: 170.2 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/2.751, allocations: 8.156 kB / 0.9233 GB, free: 170.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.647e-05/2.751, allocations: 32.62 kB / 0.9233 GB, free: 170.2 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007164/2.759, allocations: 1.107 MB / 0.9244 GB, free: 170.2 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00406/2.763, allocations: 0.6826 MB / 0.9251 GB, free: 170.1 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02093/2.784, allocations: 10.1 MB / 0.935 GB, free: 165.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005304/2.789, allocations: 344.6 kB / 0.9353 GB, free: 164.9 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001038/2.79, allocations: 140.1 kB / 0.9354 GB, free: 164.9 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (278): * Single equations (assignments): 274 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 6} * Non-linear torn systems: 1 {5 15} Notification: Performance of prepare postOptimizeDAE: time 0.001509/2.792, allocations: 197.3 kB / 0.9356 GB, free: 164.8 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001091/2.793, allocations: 193.6 kB / 0.9358 GB, free: 164.7 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008264/2.801, allocations: 2.66 MB / 0.9384 GB, free: 164.2 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-05/2.801, allocations: 18 kB / 0.9384 GB, free: 164.2 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-05/2.801, allocations: 8.469 kB / 0.9384 GB, free: 164.2 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.541e-05/2.801, allocations: 8.344 kB / 0.9384 GB, free: 164.2 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01356/2.815, allocations: 4.982 MB / 0.9433 GB, free: 162.3 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.06e-05/2.815, allocations: 4.906 kB / 0.9433 GB, free: 162.3 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00355/2.818, allocations: 0.4964 MB / 0.9438 GB, free: 162.3 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002773/2.821, allocations: 0.5693 MB / 0.9443 GB, free: 162.2 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003796/2.822, allocations: 42.94 kB / 0.9444 GB, free: 162.2 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009759/2.831, allocations: 7.511 MB / 0.9517 GB, free: 156.4 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.034e-05/2.831, allocations: 5.719 kB / 0.9517 GB, free: 156.4 MB / 0.6043 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00961/2.841, allocations: 4.484 MB / 0.9561 GB, free: 154.2 MB / 0.6043 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01267/2.854, allocations: 6.243 MB / 0.9622 GB, free: 151.2 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002562/2.856, allocations: 0.6444 MB / 0.9628 GB, free: 150.8 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00115/2.858, allocations: 20.09 kB / 0.9628 GB, free: 150.8 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003431/2.861, allocations: 166.8 kB / 0.963 GB, free: 150.8 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003583/2.861, allocations: 94.58 kB / 0.9631 GB, free: 150.8 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002374/2.862, allocations: 56.53 kB / 0.9631 GB, free: 150.8 MB / 0.6043 GB Notification: Performance of sort global known variables: time 0.003357/2.865, allocations: 1.288 MB / 0.9644 GB, free: 150.2 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.00604/2.871, allocations: 0.9093 MB / 0.9653 GB, free: 150.1 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 18 (thinWall.U[1],thinWall.U[2],thinWall.U[3],thinWall.U[4],thinWall.U[5],thickWall.U[1],thinWall1.U[1],thinWall1.U[2],thinWall1.U[3],thinWall1.U[4],thinWall1.U[5],thickWall1.U[1],thinWall2.U[1],thinWall2.U[2],thinWall2.U[3],thinWall2.U[4],thinWall2.U[5],thickWall2.U[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 108 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004356/2.872, allocations: 134.6 kB / 0.9654 GB, free: 150 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.007866/2.879, allocations: 3.133 MB / 0.9685 GB, free: 148.8 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 8.896e-06/2.879, allocations: 5.094 kB / 0.9685 GB, free: 148.8 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.002913/2.882, allocations: 1.507 MB / 0.97 GB, free: 148 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002323/2.885, allocations: 271.7 kB / 0.9702 GB, free: 147.9 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0161/2.901, allocations: 5.686 MB / 0.9758 GB, free: 143.9 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004402/2.905, allocations: 2.413 MB / 0.9781 GB, free: 142 MB / 0.6043 GB Notification: Performance of SimCode: time 2.033e-06/2.905, allocations: 4 kB / 0.9781 GB, free: 142 MB / 0.6043 GB (rm -f ClaRa_dev_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort.pipe >> ../files/ClaRa_dev_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Components_Adapters_Check_TestScalar2VectorHeatPort_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Components_Adapters_Check_TestScalar2VectorHeatPort.fmu > ClaRa_dev_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort.pipe 2>&1)