Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FMI.Validation.HeaterFan.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.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Validation.HeaterFan") translateModel(IDEAS.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Validation.HeaterFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006938/0.0006941, allocations: 91.92 kB / 16.02 MB, free: 80 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.0008991/0.0008992, allocations: 177.5 kB / 16.92 MB, free: 6.652 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.288/1.288, allocations: 223.2 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7171/0.7171, allocations: 132.3 MB / 424.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.0003648, allocations: 8.234 kB / 0.5046 GB, free: 3.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4801/0.4805, allocations: 81.58 MB / 0.5843 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.HeaterFan): time 0.7122/1.193, allocations: 306.2 MB / 0.8833 GB, free: 20.65 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02917/1.222, allocations: 27.32 MB / 0.91 GB, free: 20.11 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003005/1.225, allocations: 69.88 kB / 0.9101 GB, free: 20.11 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003642/1.229, allocations: 1.324 MB / 0.9114 GB, free: 20.08 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007748/1.237, allocations: 2.803 MB / 0.9141 GB, free: 19.94 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006114/1.243, allocations: 2.367 MB / 0.9164 GB, free: 19.85 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006939/1.25, allocations: 5.987 MB / 0.9222 GB, free: 19.06 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002215/1.252, allocations: 1.611 MB / 0.9238 GB, free: 18.53 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004362/1.256, allocations: 1.97 MB / 0.9257 GB, free: 18.21 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00311/1.259, allocations: 1.326 MB / 0.927 GB, free: 18 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002658/1.26, allocations: 70.56 kB / 0.9271 GB, free: 18 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006836/1.266, allocations: 3.626 MB / 0.9306 GB, free: 17.02 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001156/1.268, allocations: 0.4886 MB / 0.9311 GB, free: 16.79 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002325/1.27, allocations: 0.9992 MB / 0.9321 GB, free: 16.27 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004419/1.274, allocations: 3.582 MB / 0.9356 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/1.274, allocations: 0 / 0.9356 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.074e-06/1.274, allocations: 3.094 kB / 0.9356 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.546e-05/1.275, allocations: 0 / 0.9356 GB, free: 13.96 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.003245/1.278, allocations: 2.096 MB / 0.9377 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/1.278, allocations: 6.469 kB / 0.9377 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004754/1.283, allocations: 0.8632 MB / 0.9385 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002835/1.285, allocations: 2.004 MB / 0.9405 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006259/1.286, allocations: 238.4 kB / 0.9407 GB, free: 9.891 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/1.286, allocations: 128 kB / 0.9408 GB, free: 9.766 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002894/1.289, allocations: 1.667 MB / 0.9424 GB, free: 8.047 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/1.289, allocations: 7.938 kB / 0.9424 GB, free: 8.039 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/1.289, allocations: 52 kB / 0.9425 GB, free: 7.988 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.611e-05/1.289, allocations: 46.52 kB / 0.9425 GB, free: 7.941 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003249/1.293, allocations: 1.514 MB / 0.944 GB, free: 6.43 MB / 0.6387 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.008474/1.301, allocations: 7.393 MB / 0.9512 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002308/1.303, allocations: 0.7013 MB / 0.9519 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007222/1.304, allocations: 300.5 kB / 0.9522 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002698/1.304, allocations: 197.6 kB / 0.9524 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/1.304, allocations: 34.5 kB / 0.9524 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005895/1.305, allocations: 94.8 kB / 0.9525 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=37): time 2.074e-06/1.305, allocations: 4 kB / 0.9525 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37): time 0.002997/1.308, allocations: 1.336 MB / 0.9538 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/1.308, allocations: 51.41 kB / 0.9539 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00282/1.311, allocations: 1.859 MB / 0.9557 GB, free: 9.914 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.627e-05/1.311, allocations: 37.7 kB / 0.9557 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006709/1.312, allocations: 0.8222 MB / 0.9565 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.917e-05/1.312, allocations: 128.9 kB / 0.9567 GB, free: 8.918 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.552e-05/1.312, allocations: 61.69 kB / 0.9567 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001104/1.312, allocations: 330 kB / 0.957 GB, free: 8.523 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/1.313, allocations: 417.1 kB / 0.9574 GB, free: 8.117 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/1.315, allocations: 0.6693 MB / 0.9581 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001912/1.316, allocations: 0.8812 MB / 0.9589 GB, free: 6.402 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/1.317, allocations: 8 kB / 0.9589 GB, free: 6.395 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003095/1.32, allocations: 1.421 MB / 0.9603 GB, free: 4.961 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001419/1.32, allocations: 279.4 kB / 0.9606 GB, free: 4.602 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/1.32, allocations: 4 kB / 0.9606 GB, free: 4.598 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001967/1.32, allocations: 61.62 kB / 0.9607 GB, free: 4.531 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/1.321, allocations: 216.5 kB / 0.9609 GB, free: 4.328 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/1.323, allocations: 2.831 MB / 0.9636 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/1.325, allocations: 280.2 kB / 0.9639 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-05/1.325, allocations: 35.98 kB / 0.9639 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/1.325, allocations: 4 kB / 0.9639 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002573/1.328, allocations: 1.159 MB / 0.9651 GB, free: 15.78 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/1.328, allocations: 4 kB / 0.9651 GB, free: 15.77 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001207/1.328, allocations: 61.69 kB / 0.9651 GB, free: 15.71 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009424/1.329, allocations: 204.3 kB / 0.9653 GB, free: 15.52 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/1.331, allocations: 2.811 MB / 0.9681 GB, free: 12.46 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/1.332, allocations: 212.5 kB / 0.9683 GB, free: 12.25 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.955e-05/1.332, allocations: 31.98 kB / 0.9683 GB, free: 12.22 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 66 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00106/1.333, allocations: 0.5205 MB / 0.9688 GB, free: 11.7 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/1.334, allocations: 173.8 kB / 0.969 GB, free: 11.53 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00195/1.336, allocations: 0.942 MB / 0.9699 GB, free: 10.53 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/1.336, allocations: 4 kB / 0.9699 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.336, allocations: 4 kB / 0.9699 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/1.336, allocations: 8.062 kB / 0.9699 GB, free: 10.51 MB / 0.67 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.003582/1.339, allocations: 2.181 MB / 0.972 GB, free: 8.234 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/1.339, allocations: 1.125 kB / 0.972 GB, free: 8.234 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005935/1.34, allocations: 98.67 kB / 0.9721 GB, free: 8.141 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001291/1.34, allocations: 52.31 kB / 0.9722 GB, free: 8.086 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/1.34, allocations: 8 kB / 0.9722 GB, free: 8.078 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/1.342, allocations: 2.826 MB / 0.975 GB, free: 5 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.342, allocations: 0 / 0.975 GB, free: 5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/1.344, allocations: 0.9965 MB / 0.9759 GB, free: 3.93 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005566/1.344, allocations: 330.8 kB / 0.9762 GB, free: 3.586 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/1.345, allocations: 15 kB / 0.9763 GB, free: 3.574 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/1.346, allocations: 135.8 kB / 0.9764 GB, free: 3.441 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/1.346, allocations: 27.91 kB / 0.9764 GB, free: 3.414 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.524e-05/1.346, allocations: 19.98 kB / 0.9764 GB, free: 3.395 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002242/1.348, allocations: 1.333 MB / 0.9777 GB, free: 2.039 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.9e-07/1.348, allocations: 0 / 0.9777 GB, free: 2.039 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002241/1.35, allocations: 0.7718 MB / 0.9785 GB, free: 1.266 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006383/1.351, allocations: 307.5 kB / 0.9788 GB, free: 0.9766 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004032/1.355, allocations: 1.742 MB / 0.9805 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.355, allocations: 0 / 0.9805 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008973/1.356, allocations: 0.4904 MB / 0.981 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005051/1.361, allocations: 0.9568 MB / 0.9819 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004825/1.366, allocations: 3.324 MB / 0.9851 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008831/1.367, allocations: 1.344 MB / 0.9865 GB, free: 9.043 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004662/1.367, allocations: 135.4 kB / 0.9866 GB, free: 8.91 MB / 0.6856 GB Notification: Performance of SimCode: time 8.42e-07/1.367, allocations: 0 / 0.9866 GB, free: 8.91 MB / 0.6856 GB Notification: Performance of Templates: time 0.05629/1.424, allocations: 48.14 MB / 1.034 GB, free: 9.031 MB / 0.7325 GB make -j1 -f IDEAS_IDEAS.Fluid.FMI.Validation.HeaterFan.makefile make -j1 -f IDEAS_IDEAS.Fluid.FMI.Validation.HeaterFan.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Fluid.FMI.Validation.HeaterFanCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.FMI.Validation.HeaterFanCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.FMI.Validation.HeaterFanCalcHelperMain.o] Error 1