Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID.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.Utilities.Blocks.Check.test_1_LimPID,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_test_1_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_test_1_LimPID",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.003246/0.003246, allocations: 186 kB / 7.458 MB, free: 2.512 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.436/1.436, allocations: 221.4 MB / 229.3 MB, free: 3.008 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.00112/0.00112, allocations: 114.1 kB / 280.1 MB, free: 1.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.1005/0.1005, allocations: 20.16 MB / 351.1 MB, free: 10.37 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.096/1.096, allocations: 127.6 MB / 0.5229 GB, free: 4.707 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.218/1.314, allocations: 89.72 MB / 0.6105 GB, free: 10.8 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5426/1.857, allocations: 82.84 MB / 0.6914 GB, free: 33.86 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1792/2.036, allocations: 124.5 MB / 0.8129 GB, free: 1.156 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/2.036, allocations: 93.36 kB / 0.813 GB, free: 1.07 MB / 0.5418 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.02068/2.057, allocations: 7.392 MB / 0.8202 GB, free: 9.734 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/2.057, allocations: 8 kB / 0.8203 GB, free: 9.727 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/2.057, allocations: 51.44 kB / 0.8203 GB, free: 9.676 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007709/2.058, allocations: 409.2 kB / 0.8207 GB, free: 9.242 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/2.058, allocations: 20.69 kB / 0.8207 GB, free: 9.223 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.182e-05/2.058, allocations: 31.89 kB / 0.8207 GB, free: 9.191 MB / 0.5574 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003709/2.058, allocations: 182.7 kB / 0.8209 GB, free: 9.016 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005036/2.059, allocations: 309.9 kB / 0.8212 GB, free: 8.688 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/2.059, allocations: 4.438 kB / 0.8212 GB, free: 8.684 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/2.059, allocations: 2.188 kB / 0.8212 GB, free: 8.684 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/2.059, allocations: 8 kB / 0.8212 GB, free: 8.676 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001931/2.061, allocations: 1.164 MB / 0.8224 GB, free: 7.473 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004085/2.061, allocations: 286.5 kB / 0.8226 GB, free: 7.156 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/2.062, allocations: 116.5 kB / 0.8227 GB, free: 7.031 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 3.971e-05/2.062, allocations: 9.312 kB / 0.8228 GB, free: 7.023 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002815/2.062, allocations: 204.5 kB / 0.823 GB, free: 6.805 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=34): time 2.004e-06/2.062, allocations: 0.8125 kB / 0.823 GB, free: 6.805 MB / 0.5574 GB Notification: Performance of matching and sorting (n=34): time 0.0004663/2.062, allocations: 241.9 kB / 0.8232 GB, free: 6.562 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/2.063, allocations: 167.3 kB / 0.8233 GB, free: 6.363 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/2.063, allocations: 243.5 kB / 0.8236 GB, free: 6.121 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/2.063, allocations: 33.67 kB / 0.8236 GB, free: 6.086 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/2.063, allocations: 176.5 kB / 0.8238 GB, free: 5.91 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 8.448e-05/2.063, allocations: 112 kB / 0.8239 GB, free: 5.801 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.552e-05/2.063, allocations: 0 / 0.8239 GB, free: 5.801 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.000153/2.063, allocations: 346.8 kB / 0.8242 GB, free: 5.453 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/2.063, allocations: 84.88 kB / 0.8243 GB, free: 5.371 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/2.064, allocations: 160.5 kB / 0.8244 GB, free: 5.184 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/2.064, allocations: 116.7 kB / 0.8246 GB, free: 5.074 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/2.064, allocations: 4 kB / 0.8246 GB, free: 5.07 MB / 0.5574 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004946/2.064, allocations: 313.1 kB / 0.8249 GB, free: 4.758 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003051/2.065, allocations: 0.7053 MB / 0.8255 GB, free: 4.008 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/2.065, allocations: 4 kB / 0.8256 GB, free: 4.004 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/2.065, allocations: 7.469 kB / 0.8256 GB, free: 4 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003491/2.065, allocations: 79.84 kB / 0.8256 GB, free: 3.922 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/2.065, allocations: 4 kB / 0.8256 GB, free: 3.918 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/2.065, allocations: 42.28 kB / 0.8257 GB, free: 3.879 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/2.065, allocations: 12 kB / 0.8257 GB, free: 3.867 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 7.293e-06/2.065, allocations: 4 kB / 0.8257 GB, free: 3.863 MB / 0.5574 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003976/2.066, allocations: 247.3 kB / 0.8259 GB, free: 3.625 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/2.066, allocations: 4 kB / 0.8259 GB, free: 3.621 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.052e-06/2.066, allocations: 4.625 kB / 0.8259 GB, free: 3.617 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002908/2.066, allocations: 73 kB / 0.826 GB, free: 3.547 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/2.066, allocations: 4 kB / 0.826 GB, free: 3.543 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/2.066, allocations: 35.02 kB / 0.826 GB, free: 3.512 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/2.066, allocations: 16 kB / 0.8261 GB, free: 3.496 MB / 0.5574 GB Warning: Assuming fixed start value for the following 1 variables: PID.switch_OnOff.u2:DISCRETE(fixed = false ) "Connector of Boolean input signal" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 (booleanExpression.y,$whenCondition2,$whenCondition1,$PRE.PID.switch_OnOff.u2,PID.switch_OnOff.u2,$PRE.PID.time_lag_I_activation.entryTime,PID.time_lag_I_activation.entryTime,PID.I_activation.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001894/2.067, allocations: 120.6 kB / 0.8262 GB, free: 3.375 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.19e-05/2.067, allocations: 36.66 kB / 0.8262 GB, free: 3.34 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.091e-05/2.067, allocations: 39.95 kB / 0.8262 GB, free: 3.305 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/2.067, allocations: 8.578 kB / 0.8263 GB, free: 3.297 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/2.067, allocations: 0 / 0.8263 GB, free: 3.297 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/2.067, allocations: 4.438 kB / 0.8263 GB, free: 3.293 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009085/2.068, allocations: 0.6834 MB / 0.8269 GB, free: 2.566 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/2.068, allocations: 4 kB / 0.8269 GB, free: 2.562 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003402/2.068, allocations: 59.91 kB / 0.827 GB, free: 2.504 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/2.068, allocations: 4 kB / 0.827 GB, free: 2.5 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/2.068, allocations: 0 / 0.827 GB, free: 2.5 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/2.068, allocations: 4 kB / 0.827 GB, free: 2.496 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/2.068, allocations: 0 / 0.827 GB, free: 2.496 MB / 0.5574 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007112/2.069, allocations: 0.5155 MB / 0.8275 GB, free: 1.938 MB / 0.5574 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009389/2.07, allocations: 1.01 MB / 0.8285 GB, free: 0.8867 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 8.338e-05/2.07, allocations: 108.6 kB / 0.8286 GB, free: 0.7617 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.218e-05/2.07, allocations: 15.98 kB / 0.8286 GB, free: 0.7461 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/2.07, allocations: 23.92 kB / 0.8286 GB, free: 0.7227 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.321e-05/2.07, allocations: 19.97 kB / 0.8286 GB, free: 0.7031 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/2.07, allocations: 12 kB / 0.8287 GB, free: 0.6914 MB / 0.5574 GB Notification: Performance of sort global known variables: time 0.0001931/2.07, allocations: 199 kB / 0.8288 GB, free: 0.4961 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.001703/2.072, allocations: 127.5 kB / 0.829 GB, free: 380 kB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 9 (PID.smoothPIDOutput1.y_aux,PID.resetValueI,PID.resetValueP,PID.resetValueID,PID.smoothPIDInput.y_aux,PID.smoothPIDOutput.y_aux,PID.I.y,PID.D_approx.x,firstOrder.y) * Number of discrete variables: 6 (booleanExpression.y,$whenCondition2,$whenCondition1,PID.switch_OnOff.u2,PID.time_lag_I_activation.entryTime,PID.I_activation.y) * Number of discrete states: 2 (PID.switch_OnOff.u2,PID.toPU.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001837/2.072, allocations: 104.9 kB / 0.8291 GB, free: 264 kB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0006822/2.073, allocations: 405 kB / 0.8295 GB, free: 15.86 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/2.073, allocations: 0 / 0.8295 GB, free: 15.86 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001948/2.073, allocations: 123.9 kB / 0.8296 GB, free: 15.74 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/2.074, allocations: 40.97 kB / 0.8296 GB, free: 15.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/2.075, allocations: 0.6169 MB / 0.8302 GB, free: 15.05 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005285/2.076, allocations: 0.878 MB / 0.8311 GB, free: 14.15 MB / 0.573 GB Notification: Performance of SimCode: time 2.91e-07/2.076, allocations: 2.344 kB / 0.8311 GB, free: 14.15 MB / 0.573 GB (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_test_1_LimPID_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_test_1_LimPID.fmu > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID_res.mat does not exist to compare? outputFormat=mat