Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json 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/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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008774/0.0008773, allocations: 102.6 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009462/0.0009464, allocations: 172.4 kB / 16.58 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 223.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7447/0.7447, allocations: 132.3 MB / 424 MB, free: 2.117 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.0003359, allocations: 9.281 kB / 0.504 GB, free: 4.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.578/0.5783, allocations: 81.58 MB / 0.5837 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2265/0.8049, allocations: 176.3 MB / 0.7559 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009755/0.8147, allocations: 4.89 MB / 0.7606 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001911/0.8167, allocations: 39.69 kB / 0.7607 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001967/0.8187, allocations: 0.6141 MB / 0.7613 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006437/0.8252, allocations: 1.886 MB / 0.7631 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003218/0.8284, allocations: 0.9022 MB / 0.764 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005255/0.8337, allocations: 3.015 MB / 0.7669 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002067/0.8358, allocations: 0.7411 MB / 0.7677 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003065/0.8388, allocations: 0.9843 MB / 0.7686 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001655/0.8405, allocations: 0.9146 MB / 0.7695 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001852/0.8407, allocations: 44 kB / 0.7696 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003292/0.844, allocations: 0.9275 MB / 0.7705 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005575/0.8446, allocations: 398.7 kB / 0.7709 GB, free: 428 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005888/0.8452, allocations: 265 kB / 0.7711 GB, free: 156 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002456/0.8477, allocations: 1.345 MB / 0.7724 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.067e-05/0.8477, allocations: 0 / 0.7724 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.705e-06/0.8477, allocations: 3.938 kB / 0.7724 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.445e-05/0.8477, allocations: 3.938 kB / 0.7724 GB, free: 14.8 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005207/0.8529, allocations: 1.696 MB / 0.7741 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/0.853, allocations: 8.031 kB / 0.7741 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003731/0.8568, allocations: 0.7123 MB / 0.7748 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/0.8584, allocations: 0.8251 MB / 0.7756 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.163e-05/0.8585, allocations: 73.97 kB / 0.7757 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/0.8586, allocations: 80 kB / 0.7757 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003041/0.8617, allocations: 1.482 MB / 0.7772 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.8617, allocations: 3.938 kB / 0.7772 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.8618, allocations: 47.97 kB / 0.7772 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.357e-05/0.8619, allocations: 49.94 kB / 0.7773 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003872/0.8658, allocations: 1.538 MB / 0.7788 GB, free: 8.09 MB / 0.6075 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.008631/0.8744, allocations: 5.487 MB / 0.7841 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003508/0.878, allocations: 1.319 MB / 0.7854 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/0.8796, allocations: 0.6637 MB / 0.7861 GB, free: 328 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009314/0.8805, allocations: 0.589 MB / 0.7867 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001816/0.8824, allocations: 0.7302 MB / 0.7874 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=80): time 3.276e-06/0.8824, allocations: 0 / 0.7874 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of matching and sorting (n=80): time 0.005241/0.8876, allocations: 1.901 MB / 0.7892 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/0.8877, allocations: 60.06 kB / 0.7893 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/0.8893, allocations: 1.231 MB / 0.7905 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.07e-05/0.8894, allocations: 45.7 kB / 0.7905 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005497/0.89, allocations: 0.5753 MB / 0.7911 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003825/0.8904, allocations: 276.1 kB / 0.7914 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.795e-05/0.8905, allocations: 20 kB / 0.7914 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.8906, allocations: 349.9 kB / 0.7917 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00185/0.8925, allocations: 0.5406 MB / 0.7922 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002443/0.895, allocations: 0.833 MB / 0.793 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002131/0.8971, allocations: 0.5964 MB / 0.7936 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/0.8971, allocations: 4 kB / 0.7936 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.005265/0.9024, allocations: 1.515 MB / 0.7951 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/0.9025, allocations: 8 kB / 0.7951 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/0.9025, allocations: 11.98 kB / 0.7951 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.311e-05/0.9025, allocations: 16 kB / 0.7951 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001808/0.9044, allocations: 291.7 kB / 0.7954 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.474e-05/0.9044, allocations: 19.92 kB / 0.7954 GB, free: 6.445 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/0.9064, allocations: 226.7 kB / 0.7957 GB, free: 6.223 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/0.9066, allocations: 51.97 kB / 0.7957 GB, free: 6.172 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * 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.000851/0.9074, allocations: 343.6 kB / 0.796 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003324/0.9078, allocations: 134.4 kB / 0.7962 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005125/0.9129, allocations: 1.432 MB / 0.7976 GB, free: 4.254 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.9129, allocations: 8 kB / 0.7976 GB, free: 4.246 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.913, allocations: 0 / 0.7976 GB, free: 4.246 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.59e-05/0.913, allocations: 3.984 kB / 0.7976 GB, free: 4.242 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008027/0.921, allocations: 2.823 MB / 0.8003 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.687e-05/0.9211, allocations: 4 kB / 0.8003 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001588/0.9227, allocations: 227.7 kB / 0.8006 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.026e-05/0.9227, allocations: 11.98 kB / 0.8006 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.91e-05/0.9228, allocations: 23.98 kB / 0.8006 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.361e-05/0.9228, allocations: 11.98 kB / 0.8006 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.9229, allocations: 11.94 kB / 0.8006 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006484/0.9293, allocations: 2.275 MB / 0.8028 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009583/0.9304, allocations: 311.2 kB / 0.8031 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004055/0.9308, allocations: 20 kB / 0.8031 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001729/0.9325, allocations: 139.8 kB / 0.8033 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/0.9328, allocations: 68.38 kB / 0.8033 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001376/0.9329, allocations: 39.97 kB / 0.8034 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001965/0.9349, allocations: 0.8405 MB / 0.8042 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9349, allocations: 4 kB / 0.8042 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00179/0.9367, allocations: 311.6 kB / 0.8045 GB, free: 12.96 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001909/0.9386, allocations: 0.5173 MB / 0.805 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004902/0.9435, allocations: 1.298 MB / 0.8063 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.9436, allocations: 4 kB / 0.8063 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002424/0.946, allocations: 0.6521 MB / 0.8069 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004775/0.9508, allocations: 0.5713 MB / 0.8075 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008775/0.9596, allocations: 2.995 MB / 0.8104 GB, free: 7.043 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001491/0.9612, allocations: 1.171 MB / 0.8115 GB, free: 5.844 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009104/0.9621, allocations: 123.4 kB / 0.8117 GB, free: 5.723 MB / 0.6387 GB Notification: Performance of SimCode: time 1.854e-06/0.9621, allocations: 0 / 0.8117 GB, free: 5.723 MB / 0.6387 GB Notification: Performance of Templates: time 0.384/1.346, allocations: 20.17 MB / 0.8314 GB, free: 213.3 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnlyCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnlyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnlyCalcHelperMain.o] Error 1