Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleEngine.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.Examples.SimpleEngine,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Examples_SimpleEngine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Examples.SimpleEngine,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Examples_SimpleEngine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006769/0.006769, allocations: 169.9 kB / 15.12 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.755/1.755, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.0009329/0.0009332, allocations: 86.92 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.9671/0.9671, allocations: 90.59 MB / 408.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003974/0.0003976, allocations: 8 kB / 485.3 MB, free: 2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5787/0.5791, allocations: 66.28 MB / 0.5387 GB, free: 45.53 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleEngine): time 0.2007/0.7799, allocations: 203.5 MB / 0.7374 GB, free: 20 kB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.6319/1.412, allocations: 45.81 MB / 0.7822 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006816/1.419, allocations: 47.62 kB / 0.7822 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.01207/1.431, allocations: 2.82 MB / 0.785 GB, free: 14.87 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.02918/1.46, allocations: 6.274 MB / 0.7911 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.02269/1.483, allocations: 5.081 MB / 0.7961 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.01324/1.496, allocations: 4.198 MB / 0.8002 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005107/1.501, allocations: 1.643 MB / 0.8018 GB, free: 30.51 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02105/1.522, allocations: 10.14 MB / 0.8117 GB, free: 30.39 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00644/1.529, allocations: 1.854 MB / 0.8135 GB, free: 30.39 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.001059/1.53, allocations: 144.7 kB / 0.8136 GB, free: 30.39 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03243/1.562, allocations: 10.42 MB / 0.8238 GB, free: 30.36 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.002388/1.565, allocations: 0.6229 MB / 0.8244 GB, free: 30.36 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.004624/1.57, allocations: 0.8766 MB / 0.8252 GB, free: 30.33 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.02337/1.593, allocations: 8.431 MB / 0.8335 GB, free: 26.6 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/1.593, allocations: 0 / 0.8335 GB, free: 26.6 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.565e-06/1.593, allocations: 4 kB / 0.8335 GB, free: 26.59 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0002632/1.593, allocations: 0 / 0.8335 GB, free: 26.59 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1039 * Number of variables: 1039 Notification: Performance of Generate backend data structure: time 0.0185/1.612, allocations: 5.088 MB / 0.8385 GB, free: 22.63 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/1.612, allocations: 8.031 kB / 0.8385 GB, free: 22.62 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002083/1.614, allocations: 0.5322 MB / 0.839 GB, free: 22.34 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005492/1.619, allocations: 0.9305 MB / 0.8399 GB, free: 21.54 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004664/1.624, allocations: 1.762 MB / 0.8416 GB, free: 20.41 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002471/1.624, allocations: 315.1 kB / 0.8419 GB, free: 20.24 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007711/1.625, allocations: 429.5 kB / 0.8423 GB, free: 19.96 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01027/1.635, allocations: 5.05 MB / 0.8473 GB, free: 16.38 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.187e-05/1.636, allocations: 6.812 kB / 0.8473 GB, free: 16.38 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003636/1.636, allocations: 172.2 kB / 0.8474 GB, free: 16.34 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001207/1.636, allocations: 146.6 kB / 0.8476 GB, free: 16.2 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00986/1.646, allocations: 4.406 MB / 0.8519 GB, free: 13.22 MB / 0.573 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03667/1.683, allocations: 27.5 MB / 0.8787 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007259/1.69, allocations: 3.677 MB / 0.8823 GB, free: 1.262 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8216/2.512, allocations: 168.2 MB / 1.047 GB, free: 318.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/2.512, allocations: 64 kB / 1.047 GB, free: 318.3 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=254): time 4.358e-06/2.512, allocations: 0 / 1.047 GB, free: 318.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=266): time 0.04033/2.552, allocations: 12.04 MB / 1.058 GB, free: 315.8 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.198e-05/2.552, allocations: 105.9 kB / 1.058 GB, free: 315.7 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002959/2.555, allocations: 1.201 MB / 1.06 GB, free: 315.2 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0006479/2.556, allocations: 76.2 kB / 1.06 GB, free: 315.1 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001593/2.558, allocations: 1.439 MB / 1.061 GB, free: 314 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.00138/2.559, allocations: 0.9057 MB / 1.062 GB, free: 313.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/2.559, allocations: 51.12 kB / 1.062 GB, free: 313.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002461/2.559, allocations: 404.2 kB / 1.062 GB, free: 312.9 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002505/2.562, allocations: 1.087 MB / 1.064 GB, free: 312.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002726/2.565, allocations: 1.548 MB / 1.065 GB, free: 311.6 MB / 0.7292 GB 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.003059/2.568, allocations: 1.364 MB / 1.066 GB, free: 310.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-05/2.568, allocations: 3.719 kB / 1.066 GB, free: 310.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=335) (initialization): time 0.008468/2.576, allocations: 3.765 MB / 1.07 GB, free: 309.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001552/2.578, allocations: 4.53 MB / 1.074 GB, free: 304.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.46e-05/2.578, allocations: 12.34 kB / 1.074 GB, free: 304.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003061/2.581, allocations: 0.8459 MB / 1.075 GB, free: 304.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002636/2.584, allocations: 0.5287 MB / 1.076 GB, free: 304.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01499/2.599, allocations: 10.36 MB / 1.086 GB, free: 296.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00443/2.603, allocations: 367.7 kB / 1.086 GB, free: 296.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005163/2.604, allocations: 129.6 kB / 1.086 GB, free: 296.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/2.604, allocations: 4.438 kB / 1.086 GB, free: 296.6 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008154/2.612, allocations: 3.536 MB / 1.09 GB, free: 294.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.101e-05/2.612, allocations: 15.48 kB / 1.09 GB, free: 294.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003001/2.615, allocations: 0.8531 MB / 1.091 GB, free: 294.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002383/2.617, allocations: 0.5194 MB / 1.091 GB, free: 294.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01623/2.634, allocations: 10.35 MB / 1.101 GB, free: 283.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004173/2.638, allocations: 365.2 kB / 1.102 GB, free: 283 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003471/2.638, allocations: 120 kB / 1.102 GB, free: 282.9 MB / 0.7292 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: conductionElement.deltaE_system = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 28 (boiler.state_out.phase,switch.tanValve1.outlet.state.phase,switch.tanValve.outlet.state.phase,switchConnector1.checkValve1.outlet.state.phase,switchConnector.checkValve1.outlet.state.phase,crankDrive.h_out,piston.medium_left.phase,piston.medium_right.phase,boiler.medium.phase,terminalSource.outlet.state.phase,switchConnector1.checkValve.outlet.state.phase,switchConnector.checkValve.outlet.state.phase,switchConnector1.junctionRFF2_1.junctionMN.fores[2].state_forwards.phase,switchConnector.junctionRFF2_1.junctionMN.fores[2].state_forwards.phase,PI1.I.local_reset,tanValve1.outlet.state.phase,tanValve.outlet.state.phase,flowResistance6.outlet.state.phase,flowResistance5.outlet.state.phase,flowResistance4.outlet.state.phase,flowResistance3.outlet.state.phase,junctionT2_1.junctionN.outlet.state.phase,conductionElement.outlet.state.phase,switchConnector1.junctionRFF2_1.junctionMN.fores[1].state_forwards.phase,switchConnector1.junctionRFF2_1.junctionMN.rears[1].state_rearwards.phase,switchConnector.junctionRFF2_1.junctionMN.fores[1].state_forwards.phase,switchConnector.junctionRFF2_1.junctionMN.rears[1].state_rearwards.phase,conductionElement.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (276): * Single equations (assignments): 271 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(6,58.3%) 47,(1,100.0%) 4} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00247/2.641, allocations: 0.8133 MB / 1.103 GB, free: 282 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006328/2.641, allocations: 205.5 kB / 1.103 GB, free: 281.8 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0127/2.654, allocations: 9.861 MB / 1.112 GB, free: 271.9 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-05/2.654, allocations: 119.8 kB / 1.113 GB, free: 271.8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-05/2.654, allocations: 12 kB / 1.113 GB, free: 271.8 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-05/2.654, allocations: 18.34 kB / 1.113 GB, free: 271.8 MB / 0.7292 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02175/2.676, allocations: 15.09 MB / 1.127 GB, free: 256.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.879e-05/2.676, allocations: 2.812 kB / 1.127 GB, free: 256.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001858/2.678, allocations: 427.4 kB / 1.128 GB, free: 256.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004012/2.682, allocations: 2.232 MB / 1.13 GB, free: 253.9 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000458/2.683, allocations: 83.94 kB / 1.13 GB, free: 253.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01175/2.694, allocations: 10.98 MB / 1.141 GB, free: 242.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/2.694, allocations: 0 / 1.141 GB, free: 242.3 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0142/2.709, allocations: 9.533 MB / 1.15 GB, free: 232.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002431/2.711, allocations: 0.7298 MB / 1.151 GB, free: 231.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004749/2.712, allocations: 56 kB / 1.151 GB, free: 231.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00251/2.714, allocations: 403.1 kB / 1.151 GB, free: 231.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005436/2.715, allocations: 226.2 kB / 1.151 GB, free: 231.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001895/2.715, allocations: 99.94 kB / 1.151 GB, free: 231.2 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001126/2.716, allocations: 0.7581 MB / 1.152 GB, free: 230.4 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2e-07/2.716, allocations: 0 / 1.152 GB, free: 230.4 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01237/2.728, allocations: 2.792 MB / 1.155 GB, free: 227.7 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (steamSink.x,conductionElement.h,crankDrive.phi,crankDrive.omega,piston.M_left,piston.M_right,piston.medium_left.u,piston.medium_right.u,flowResistance3.m_flow,flowResistance4.m_flow,flowResistance5.m_flow,flowResistance6.m_flow,firstOrder.y,boiler.M,boiler.U_med,PI1.I.y,terminalSource.p) * Number of discrete variables: 58 ($cse6.phase,$cse6.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.region3boundary,$cse13.region3boundary,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse28.phase,$cse28.region,$cse30.phase,$cse30.region,$cse32.phase,$cse32.region,$cse35.phase,$cse35.region,$cse38.phase,$cse38.region,$cse39.phase,$cse39.region,$cse41.phase,$cse41.region,$cse43.phase,$cse43.region,$cse45.phase,$cse45.region,$cse47.phase,$cse47.region,$cse50.phase,$cse50.region,$cse53.phase,$cse53.region,$cse54.region3boundary,$cse55.region3boundary,$cse56.phase,$cse56.region,$cse59.phase,$cse59.region,$cse60.phase,$cse60.region,$cse61.region3boundary,$cse63.region3boundary,crankDrive.h_out,piston.medium_left.phase,piston.medium_right.phase,boiler.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (253): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 23 * 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: 3 {(1,100.0%) 4,(1,100.0%) 1,(6,58.3%) 47} * Non-linear torn systems: 3 {1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.02147/2.75, allocations: 11.51 MB / 1.166 GB, free: 216.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01302/2.763, allocations: 6.817 MB / 1.173 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/2.763, allocations: 0 / 1.173 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.005254/2.768, allocations: 3.465 MB / 1.176 GB, free: 206.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005185/2.774, allocations: 0.7644 MB / 1.177 GB, free: 205.3 MB / 0.7292 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9719:9-9719:218:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getUnit(singleSensorSelect.quantity) Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04535/2.819, allocations: 30.15 MB / 1.206 GB, free: 174.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002264/2.821, allocations: 2.678 MB / 1.209 GB, free: 171.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004012/2.825, allocations: 2.136 MB / 1.211 GB, free: 169.4 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001954/2.827, allocations: 1.854 MB / 1.213 GB, free: 167.6 MB / 0.7292 GB Notification: Performance of SimCode: time 9.22e-07/2.827, allocations: 0 / 1.213 GB, free: 167.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5619/3.389, allocations: 127 MB / 1.337 GB, free: 312.4 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/3.389, allocations: 224.2 kB / 1.337 GB, free: 312.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.051/11.44, allocations: 2.953 kB / 1.337 GB, free: 312.2 MB / 0.7292 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleEngine.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleEngine.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleEngine.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleEngine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleEngine_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Examples_SimpleEngine_fmu --startTime=0 --stopTime=25 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Examples_SimpleEngine.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleEngine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleEngine_res.mat does not exist to compare? outputFormat=mat