Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestFlueGasesVolumes1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestFlueGasesVolumes1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7658/0.7658, allocations: 150.9 MB / 166.1 MB, free: 14.88 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002907/0.0002908, allocations: 31.91 kB / 204.2 MB, free: 10.08 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1337, allocations: 31.33 MB / 235.6 MB, free: 5.371 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes1): time 1.463/1.596, allocations: 296.1 MB / 0.5192 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1313/1.728, allocations: 149.6 MB / 0.6653 GB, free: 5.312 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003787/1.728, allocations: 4 kB / 0.6653 GB, free: 5.309 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/PressureLosses/SingularPressureLoss.mo:18:3-20:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/PressureLosses/SingularPressureLoss.mo:21:3-23:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/BoundaryConditions/SourceP.mo:17:3-18:83:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/BoundaryConditions/SinkP.mo:16:3-18:16:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/Volumes/VolumeATh.mo:49:3-51:16:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/Volumes/VolumeATh.mo:52:3-54:16:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/Volumes/VolumeATh.mo:55:3-56:83:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/Volumes/VolumeATh.mo:59:3-60:83:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/PressureLosses/SingularPressureLoss.mo:18:3-20:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/PressureLosses/SingularPressureLoss.mo:21:3-23:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/BoundaryConditions/SinkP.mo:16:3-18:16:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/PressureLosses/SingularPressureLoss.mo:18:3-20:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/PressureLosses/SingularPressureLoss.mo:21:3-23:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/Volumes/VolumeCTh.mo:49:3-51:16:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/Volumes/VolumeCTh.mo:52:3-53:83:writable] Warning: Connector Cs is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/Volumes/VolumeCTh.mo:56:3-57:83:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/Volumes/VolumeCTh.mo:58:3-60:16:writable] Warning: Connector Ce3 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/PressureLosses/SingularPressureLoss.mo:18:3-20:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/PressureLosses/SingularPressureLoss.mo:21:3-23:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/PressureLosses/SingularPressureLoss.mo:18:3-20:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/PressureLosses/SingularPressureLoss.mo:21:3-23:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/BoundaryConditions/SourceP.mo:17:3-18:83:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/PressureLosses/SingularPressureLoss.mo:18:3-20:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/PressureLosses/SingularPressureLoss.mo:21:3-23:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/BoundaryConditions/SourceP.mo:17:3-18:83:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.00033/1.728, allocations: 98.84 kB / 0.6654 GB, free: 5.215 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005271/1.729, allocations: 269.8 kB / 0.6657 GB, free: 4.949 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002454/1.731, allocations: 1.044 MB / 0.6667 GB, free: 3.902 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001168/1.733, allocations: 1.387 MB / 0.668 GB, free: 2.508 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007195/1.733, allocations: 0.7704 MB / 0.6688 GB, free: 1.715 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003788/1.734, allocations: 0.518 MB / 0.6693 GB, free: 1.195 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004733/1.734, allocations: 0.6264 MB / 0.6699 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001269/1.734, allocations: 144 kB / 0.67 GB, free: 436 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/1.736, allocations: 0.7913 MB / 0.6708 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001759/1.736, allocations: 299.1 kB / 0.6711 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004467/1.736, allocations: 0.6495 MB / 0.6717 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001501/1.738, allocations: 1.768 MB / 0.6735 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.738, allocations: 0 / 0.6735 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.402e-06/1.738, allocations: 0 / 0.6735 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.311e-05/1.738, allocations: 0 / 0.6735 GB, free: 12.91 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 335 * Number of variables: 335 Notification: Performance of Generate backend data structure: time 0.00193/1.74, allocations: 1.441 MB / 0.6749 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/1.74, allocations: 8.031 kB / 0.6749 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001777/1.74, allocations: 194.6 kB / 0.6751 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/1.74, allocations: 139.4 kB / 0.6752 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005127/1.741, allocations: 0.5056 MB / 0.6757 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-05/1.741, allocations: 98.64 kB / 0.6758 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002412/1.741, allocations: 136 kB / 0.6759 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001822/1.743, allocations: 1.425 MB / 0.6773 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/1.743, allocations: 7.938 kB / 0.6773 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.885e-05/1.743, allocations: 52 kB / 0.6774 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/1.743, allocations: 36 kB / 0.6774 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/1.744, allocations: 1.106 MB / 0.6785 GB, free: 7.547 MB / 0.5606 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.005679/1.75, allocations: 7.248 MB / 0.6856 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006166/1.751, allocations: 466.4 kB / 0.686 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005157/1.751, allocations: 380.2 kB / 0.6864 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005541/1.752, allocations: 472.8 kB / 0.6868 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/1.752, allocations: 43.06 kB / 0.6869 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=56): time 2.104e-06/1.752, allocations: 0 / 0.6869 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92): time 0.03427/1.786, allocations: 8.879 MB / 0.6955 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/1.786, allocations: 123.8 kB / 0.6956 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006938/1.787, allocations: 0.6876 MB / 0.6963 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.659e-05/1.787, allocations: 41.7 kB / 0.6964 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002714/1.787, allocations: 0.5029 MB / 0.6968 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/1.788, allocations: 323.4 kB / 0.6972 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003264/1.788, allocations: 238.7 kB / 0.6974 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.788, allocations: 398.7 kB / 0.6978 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008715/1.789, allocations: 0.518 MB / 0.6983 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/1.79, allocations: 0.8696 MB / 0.6991 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1395/1.93, allocations: 1.46 MB / 0.7005 GB, free: 232.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/1.93, allocations: 5.344 kB / 0.7005 GB, free: 232.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.004342/1.934, allocations: 2.262 MB / 0.7028 GB, free: 232.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/1.934, allocations: 11.84 kB / 0.7028 GB, free: 232.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/1.934, allocations: 11.28 kB / 0.7028 GB, free: 232.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02302/1.957, allocations: 4.101 MB / 0.7068 GB, free: 232.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/1.957, allocations: 78.81 kB / 0.7069 GB, free: 232.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006287/1.964, allocations: 2.664 MB / 0.7095 GB, free: 232.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000961/1.965, allocations: 68.16 kB / 0.7095 GB, free: 232.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/1.965, allocations: 68.22 kB / 0.7096 GB, free: 232.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 26 (sourceFlueGasesP2.C.b,singularPressureLossFlueGases6.C2.b,singularPressureLossFlueGases6.C1.a,sourceFlueGasesP1.C.b,singularPressureLossFlueGases5.C2.b,singularPressureLossFlueGases5.C1.a,singularPressureLossFlueGases3.C2.b,singularPressureLossFlueGases3.C1.a,volumeFlueGasesCTh.Ce3.a,volumeFlueGasesCTh.Ce2.a,volumeFlueGasesCTh.Cs.b,volumeFlueGasesCTh.Ce1.a,singularPressureLossFlueGases4.C2.b,singularPressureLossFlueGases4.C1.a,sinkFlueGasesP1.C.a,singularPressureLossFlueGases2.C2.b,singularPressureLossFlueGases2.C1.a,volumeFlueGasesATh.Ce2.a,volumeFlueGasesATh.Cs1.b,volumeFlueGasesATh.Cs2.b,volumeFlueGasesATh.Ce1.a,sinkFlueGasesP.C.a,sourceFlueGasesP.C.b,singularPressureLossFlueGases1.C2.b,singularPressureLossFlueGases1.C1.a,volumeFlueGasesCTh.Ce2.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(32,51)} Notification: Performance of prepare postOptimizeDAE: time 0.0004006/1.965, allocations: 262.5 kB / 0.7098 GB, free: 232.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/1.965, allocations: 103.1 kB / 0.7099 GB, free: 232 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004192/1.969, allocations: 2.065 MB / 0.712 GB, free: 231.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/1.97, allocations: 11.88 kB / 0.712 GB, free: 231.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.97, allocations: 2.578 kB / 0.712 GB, free: 231.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/1.97, allocations: 10.83 kB / 0.712 GB, free: 231.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005989/1.976, allocations: 3.884 MB / 0.7158 GB, free: 231.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/1.976, allocations: 0 / 0.7158 GB, free: 231.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003961/1.976, allocations: 100.7 kB / 0.7159 GB, free: 231.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0103/1.986, allocations: 1.96 MB / 0.7178 GB, free: 231.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/1.986, allocations: 36.11 kB / 0.7178 GB, free: 231.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00558/1.992, allocations: 3.715 MB / 0.7214 GB, free: 229.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.992, allocations: 1.781 kB / 0.7214 GB, free: 229.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004161/1.996, allocations: 2.673 MB / 0.7241 GB, free: 228.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/1.996, allocations: 166.3 kB / 0.7242 GB, free: 228.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/1.997, allocations: 19.7 kB / 0.7242 GB, free: 228.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007383/1.997, allocations: 54.03 kB / 0.7243 GB, free: 228.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/1.997, allocations: 71.17 kB / 0.7244 GB, free: 228.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.157e-05/1.997, allocations: 41.78 kB / 0.7244 GB, free: 228.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004341/1.998, allocations: 454.9 kB / 0.7248 GB, free: 228.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.31e-07/1.998, allocations: 0 / 0.7248 GB, free: 228.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001074/1.999, allocations: 434 kB / 0.7252 GB, free: 228.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volumeFlueGasesATh.Xh2o,volumeFlueGasesCTh.Xh2o) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(16,17), (7,13), (3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005651/2.005, allocations: 3.626 MB / 0.7288 GB, free: 227.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005995/2.011, allocations: 1.991 MB / 0.7307 GB, free: 226.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/2.011, allocations: 0 / 0.7307 GB, free: 226.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004312/2.015, allocations: 1.196 MB / 0.7319 GB, free: 226.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008747/2.016, allocations: 187.6 kB / 0.7321 GB, free: 226.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01603/2.032, allocations: 12.01 MB / 0.7438 GB, free: 215.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/2.032, allocations: 1.038 MB / 0.7448 GB, free: 214.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003556/2.033, allocations: 111.4 kB / 0.7449 GB, free: 214.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003313/2.033, allocations: 415.3 kB / 0.7453 GB, free: 214 MB / 0.5762 GB Notification: Performance of SimCode: time 8.31e-07/2.033, allocations: 0.5625 kB / 0.7453 GB, free: 214 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04334/2.076, allocations: 32.43 MB / 0.777 GB, free: 182.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001526/2.077, allocations: 248 kB / 0.7772 GB, free: 182.4 MB / 0.5762 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestFlueGasesVolumes1.o ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestFlueGasesVolumes1.c In file included from ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestFlueGasesVolumes1.c:7: In file included from ./ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestFlueGasesVolumes1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:161: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestFlueGasesVolumes1_functions.o ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestFlueGasesVolumes1_functions.c In file included from ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestFlueGasesVolumes1_functions.c:2: In file included from ./ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestFlueGasesVolumes1_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestFlueGasesVolumes1_functions.c:297:320: error: invalid operands to binary expression ('double' and 'real_array' (aka 'struct base_array_s')) __omcQ_24ThermoSysPro_24PProperties_24PFlueGases_24PFlueGases_5Fh_24funDERh = (__omcQ_24ThermoSysPro_24PProperties_24PFlueGases_24PFlueGases_5Fh_24funDERstate._T) * (omc__omcQ_24DER_24ThermoSysPro_24PProperties_24PModelicaMediaFlueGases_24Ph_5F_5FTX(threadData, _state._T, _state._X, 1, 1, 0.0, 1.0, _OMC_LIT8, 0.0)) + mul_alloc_real_array_scalar(__omcQ_24ThermoSysPro_24PProperties_24PFlueGases_24PFlueGases_5Fh_24funDERstate._X, omc__omcQ_24DER_24ThermoSysPro_24PProperties_24PModelicaMediaFlueGases_24Ph_5F_5FTX(threadData, _state._T, _state._X, 1, 1, 0.0, 0.0, _OMC_LIT9, 0.0)) + (__omcQ_24ThermoSysPro_24PProperties_24PFlueGases_24PFlueGases_5Fh_24funDERXh2o) * (_Hlat) - (mul_alloc_real_array_scalar(__omcQ_24ThermoSysPro_24PProperties_24PFlueGases_24PFlueGases_5Fh_24funDERstate0._X, omc__omcQ_24DER_24ThermoSysPro_24PProperties_24PModelicaMediaFlueGases_24Ph_5F_5FTX(threadData, _state0._T, _state0._X, 1, 1, 0.0, 0.0, _OMC_LIT9, 0.0))) - ((__omcQ_24ThermoSysPro_24PProperties_24PFlueGases_24PFlueGases_5Fh_24funDERstate0._T) * (omc__omcQ_24DER_24ThermoSysPro_24PProperties_24PModelicaMediaFlueGases_24Ph_5F_5FTX(threadData, _state0._T, _state0._X, 1, 1, 0.0, 1.0, _OMC_LIT8, 0.0))); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestFlueGasesVolumes1_functions.o] Error 1