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.005058/0.005058, allocations: 168.6 kB / 15.13 MB, free: 6.023 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.555/1.555, allocations: 205.4 MB / 221.3 MB, free: 13.73 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.0007824/0.0007823, allocations: 90.3 kB / 269.6 MB, free: 13.26 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.7563/0.7563, allocations: 90.61 MB / 408.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003402/0.0003403, allocations: 12 kB / 485.3 MB, free: 1.957 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3952, allocations: 66.27 MB / 0.5387 GB, free: 45.1 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleEngine): time 0.5313/0.9265, allocations: 227.5 MB / 0.7609 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.06221/0.9888, allocations: 50.39 MB / 0.8101 GB, free: 15.15 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00506/0.9939, allocations: 50.5 kB / 0.8101 GB, free: 15.15 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.007897/1.002, allocations: 2.676 MB / 0.8128 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.02259/1.024, allocations: 6.072 MB / 0.8187 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.02027/1.045, allocations: 4.81 MB / 0.8234 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00999/1.055, allocations: 6.63 MB / 0.8299 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003682/1.059, allocations: 1.65 MB / 0.8315 GB, free: 28.79 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01526/1.074, allocations: 10.34 MB / 0.8416 GB, free: 28.22 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005002/1.079, allocations: 2.123 MB / 0.8436 GB, free: 27.57 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0009461/1.08, allocations: 151.7 kB / 0.8438 GB, free: 27.56 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02504/1.105, allocations: 9.456 MB / 0.853 GB, free: 23.97 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.001673/1.107, allocations: 0.6382 MB / 0.8536 GB, free: 23.52 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002764/1.109, allocations: 0.8721 MB / 0.8545 GB, free: 22.94 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01711/1.127, allocations: 8.496 MB / 0.8628 GB, free: 15.96 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/1.127, allocations: 3.438 kB / 0.8628 GB, free: 15.96 MB / 0.573 GB Notification: Performance of FrontEnd: time 5.28e-06/1.127, allocations: 8 kB / 0.8628 GB, free: 15.95 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.000448/1.127, allocations: 0 / 0.8628 GB, free: 15.95 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.01694/1.144, allocations: 5.084 MB / 0.8678 GB, free: 11.22 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/1.144, allocations: 12.03 kB / 0.8678 GB, free: 11.21 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002014/1.146, allocations: 0.5352 MB / 0.8683 GB, free: 10.92 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005419/1.152, allocations: 0.9163 MB / 0.8692 GB, free: 10.13 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00402/1.156, allocations: 1.771 MB / 0.8709 GB, free: 8.902 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002446/1.156, allocations: 320.1 kB / 0.8712 GB, free: 8.723 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009159/1.157, allocations: 428.9 kB / 0.8716 GB, free: 8.441 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01105/1.168, allocations: 5.08 MB / 0.8766 GB, free: 4.824 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-05/1.168, allocations: 5.625 kB / 0.8766 GB, free: 4.82 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000369/1.168, allocations: 172.6 kB / 0.8768 GB, free: 4.781 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001301/1.168, allocations: 149.8 kB / 0.8769 GB, free: 4.637 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009397/1.178, allocations: 4.409 MB / 0.8812 GB, free: 1.633 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.03046/1.208, allocations: 27.46 MB / 0.908 GB, free: 8.117 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007489/1.216, allocations: 3.67 MB / 0.9116 GB, free: 5.508 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002695/1.219, allocations: 1.449 MB / 0.913 GB, free: 4.645 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5429/1.762, allocations: 168.2 MB / 1.077 GB, free: 258 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.38e-05/1.762, allocations: 65.69 kB / 1.077 GB, free: 258 MB / 0.698 GB Notification: Performance of pre-optimization done (n=254): time 4.208e-06/1.762, allocations: 0 / 1.077 GB, free: 258 MB / 0.698 GB Notification: Performance of matching and sorting (n=266): time 0.02844/1.79, allocations: 12.2 MB / 1.089 GB, free: 250 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/1.79, allocations: 111.2 kB / 1.089 GB, free: 249.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/1.792, allocations: 1.209 MB / 1.091 GB, free: 248.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002/1.792, allocations: 73.7 kB / 1.091 GB, free: 248.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005899/1.792, allocations: 1.425 MB / 1.092 GB, free: 247.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005033/1.793, allocations: 0.9068 MB / 1.093 GB, free: 246.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/1.793, allocations: 52 kB / 1.093 GB, free: 246.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001196/1.793, allocations: 407.3 kB / 1.093 GB, free: 245.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001769/1.795, allocations: 1.098 MB / 1.094 GB, free: 244.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001938/1.797, allocations: 1.554 MB / 1.096 GB, free: 243 MB / 0.698 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.002139/1.799, allocations: 1.373 MB / 1.097 GB, free: 241.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/1.799, allocations: 4 kB / 1.097 GB, free: 241.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=335) (initialization): time 0.006737/1.806, allocations: 3.782 MB / 1.101 GB, free: 237.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001595/1.806, allocations: 428.5 kB / 1.101 GB, free: 237.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/1.806, allocations: 13.31 kB / 1.101 GB, free: 237.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002715/1.809, allocations: 0.8602 MB / 1.102 GB, free: 236.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002014/1.811, allocations: 0.5227 MB / 1.103 GB, free: 235.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01224/1.823, allocations: 10.26 MB / 1.113 GB, free: 225 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002971/1.826, allocations: 379.9 kB / 1.113 GB, free: 224.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002974/1.826, allocations: 116 kB / 1.113 GB, free: 224.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/1.826, allocations: 4 kB / 1.113 GB, free: 224.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006358/1.833, allocations: 3.561 MB / 1.117 GB, free: 220.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/1.833, allocations: 13.31 kB / 1.117 GB, free: 220.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002659/1.835, allocations: 0.8533 MB / 1.118 GB, free: 220.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001902/1.837, allocations: 0.5188 MB / 1.118 GB, free: 219.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01203/1.849, allocations: 10.26 MB / 1.128 GB, free: 208.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00288/1.852, allocations: 359.2 kB / 1.128 GB, free: 208.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002137/1.853, allocations: 127.9 kB / 1.129 GB, free: 208.4 MB / 0.698 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,63.9%) 47,(1,100.0%) 4} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001592/1.854, allocations: 0.8089 MB / 1.129 GB, free: 207.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003449/1.855, allocations: 205.5 kB / 1.129 GB, free: 207.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01081/1.865, allocations: 9.884 MB / 1.139 GB, free: 197.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-05/1.865, allocations: 119.8 kB / 1.139 GB, free: 197.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/1.865, allocations: 8 kB / 1.139 GB, free: 197.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.803e-05/1.865, allocations: 19.89 kB / 1.139 GB, free: 197.2 MB / 0.698 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.01651/1.882, allocations: 15.15 MB / 1.154 GB, free: 182 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/1.882, allocations: 0 / 1.154 GB, free: 182 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00171/1.884, allocations: 423.4 kB / 1.154 GB, free: 181.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003806/1.888, allocations: 2.279 MB / 1.157 GB, free: 179.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002644/1.888, allocations: 87.56 kB / 1.157 GB, free: 179.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01008/1.898, allocations: 10.86 MB / 1.167 GB, free: 167.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.898, allocations: 0 / 1.167 GB, free: 167.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01209/1.91, allocations: 9.559 MB / 1.177 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001358/1.911, allocations: 0.7259 MB / 1.177 GB, free: 157.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002787/1.912, allocations: 64.44 kB / 1.178 GB, free: 157.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002022/1.914, allocations: 403 kB / 1.178 GB, free: 157 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003622/1.914, allocations: 226.2 kB / 1.178 GB, free: 156.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001739/1.914, allocations: 99.94 kB / 1.178 GB, free: 156.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008469/1.915, allocations: 0.762 MB / 1.179 GB, free: 155.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.81e-07/1.915, allocations: 0 / 1.179 GB, free: 155.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.007233/1.922, allocations: 2.795 MB / 1.182 GB, free: 153.2 MB / 0.698 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,(7,57.1%) 46} * Non-linear torn systems: 3 {1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01632/1.939, allocations: 11.54 MB / 1.193 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.009963/1.949, allocations: 6.839 MB / 1.2 GB, free: 135 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/1.949, allocations: 0 / 1.2 GB, free: 135 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.004174/1.953, allocations: 3.471 MB / 1.203 GB, free: 131.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004018/1.957, allocations: 0.8177 MB / 1.204 GB, free: 130.7 MB / 0.698 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9932:11-9932:220: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.03435/1.991, allocations: 22.7 MB / 1.226 GB, free: 107.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001941/1.993, allocations: 2.607 MB / 1.229 GB, free: 104.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003546/1.997, allocations: 2.133 MB / 1.231 GB, free: 102.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001725/1.999, allocations: 1.854 MB / 1.232 GB, free: 100.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.512e-06/1.999, allocations: 0 / 1.232 GB, free: 100.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4344/2.433, allocations: 127.2 MB / 1.357 GB, free: 289.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/2.433, allocations: 229 kB / 1.357 GB, free: 289.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.239/9.673, allocations: 0 / 1.357 GB, free: 289.3 MB / 0.698 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