Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Fluid.Examples.PumpingSystem.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.PumpingSystem,fileNamePrefix="Modelica_3_1_cpp_Modelica_Fluid_Examples_PumpingSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.092/1.092, allocations: 111.2 MB / 119.1 MB, free: 11.19 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.448e-05/2.445e-05, allocations: 4 kB / 148.2 MB, free: 6.133 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05889/0.05895, allocations: 25.18 MB / 173.4 MB, free: 12.91 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8574/0.9164, allocations: 246.6 MB / 419.9 MB, free: 56.21 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.9167, allocations: 66.47 kB / 420 MB, free: 56.21 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.153/2.07, allocations: 226.8 MB / 0.6316 GB, free: 20.98 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.704e-06/2.07, allocations: 0 / 0.6316 GB, free: 20.98 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.000111/2.07, allocations: 26.06 kB / 0.6317 GB, free: 20.98 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.00561/2.076, allocations: 1.504 MB / 0.6331 GB, free: 20.05 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/2.076, allocations: 11.59 kB / 0.6331 GB, free: 20.05 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000791/2.077, allocations: 138 kB / 0.6333 GB, free: 19.98 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003047/2.08, allocations: 0.8072 MB / 0.6341 GB, free: 19.4 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003019/2.08, allocations: 176.4 kB / 0.6342 GB, free: 19.27 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003038/2.08, allocations: 53.77 kB / 0.6343 GB, free: 19.26 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002695/2.083, allocations: 1.055 MB / 0.6353 GB, free: 18.78 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002859/2.086, allocations: 1.24 MB / 0.6365 GB, free: 17.73 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.896e-05/2.086, allocations: 4 kB / 0.6365 GB, free: 17.73 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001759/2.086, allocations: 4 kB / 0.6365 GB, free: 17.72 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001274/2.086, allocations: 65.97 kB / 0.6366 GB, free: 17.66 MB / 234.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01729/2.104, allocations: 5.798 MB / 0.6422 GB, free: 11.59 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005126/2.109, allocations: 0.8326 MB / 0.6431 GB, free: 10.75 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001468/2.11, allocations: 479 kB / 0.6435 GB, free: 10.29 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00696/2.117, allocations: 3.3 MB / 0.6467 GB, free: 6.648 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001184/2.119, allocations: 0.5568 MB / 0.6473 GB, free: 6.066 MB / 234.7 MB Notification: Performance of pre-optimization done (n=74): time 4.559e-06/2.119, allocations: 3.938 kB / 0.6473 GB, free: 6.062 MB / 234.7 MB Notification: Performance of matching and sorting (n=99): time 0.3394/2.458, allocations: 11.05 MB / 0.6581 GB, free: 10.9 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001545/2.458, allocations: 244.1 kB / 0.6583 GB, free: 10.61 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/2.46, allocations: 0.6214 MB / 0.6589 GB, free: 9.977 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004089/2.46, allocations: 29.7 kB / 0.6589 GB, free: 9.941 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006211/2.461, allocations: 0.5712 MB / 0.6595 GB, free: 9.363 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000655/2.461, allocations: 339.1 kB / 0.6598 GB, free: 9.027 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/2.462, allocations: 0 / 0.6598 GB, free: 9.027 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001902/2.462, allocations: 358.8 kB / 0.6602 GB, free: 8.668 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/2.464, allocations: 0.6507 MB / 0.6608 GB, free: 8.016 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002203/2.466, allocations: 1.046 MB / 0.6618 GB, free: 6.793 MB / 250.7 MB Notification: The given system is mixed-determined. [index = 1] Notification: Performance of analyzeInitialSystem (initialization): time 0.02026/2.486, allocations: 3.677 MB / 0.6654 GB, free: 3.156 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.408e-05/2.486, allocations: 3.938 kB / 0.6654 GB, free: 3.152 MB / 250.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/Blocks/Logical.mo:839:9-841:38:writable] Error: Initialization problem is structurally singular, error found sorting equations 104: PumpRPMGenerator.T = if controller.y and not PumpRPMGenerator.rising > 0.0 or not controller.y and not PumpRPMGenerator.falling > 0.0 or not abs(PumpRPMGenerator.amplitude) > 0.0 or true then time else time + (PumpRPMGenerator.endValue - $PRE.PumpRPMGenerator.y) / PumpRPMGenerator.rate; 103: PumpRPMGenerator.rate = if controller.y and PumpRPMGenerator.rising > 0.0 then PumpRPMGenerator.amplitude / PumpRPMGenerator.rising else if not controller.y and PumpRPMGenerator.falling > 0.0 then (-PumpRPMGenerator.amplitude) / PumpRPMGenerator.falling else 0.0; 102: PumpRPMGenerator.endValue = if controller.y then PumpRPMGenerator.offset + PumpRPMGenerator.amplitude else PumpRPMGenerator.offset; 99: PumpRPMGenerator.y = if time < PumpRPMGenerator.T then PumpRPMGenerator.endValue + (time - PumpRPMGenerator.T) * PumpRPMGenerator.rate else PumpRPMGenerator.endValue; 3: $PRE.PumpRPMGenerator.y = 0.0; 5: $PRE.PumpRPMGenerator.y = PumpRPMGenerator.y; for variables $DER.$STATESET1.x[1](89), $DER.reservoir.medium.T(53), pumps.W_single(57), pumps.medium.p(75), $DER.pumps.N(109), $DER.pumps.medium.h(111), reservoir.portAreas[1](5) Error: No system for the symbolic initialization was generated