Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.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.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") translateModel(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008982/0.0009041, allocations: 102.7 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.001212/0.001212, allocations: 177.3 kB / 16.58 MB, free: 6.863 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.451/1.451, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7553/0.7553, allocations: 132.3 MB / 424 MB, free: 2.117 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003166, allocations: 12.66 kB / 0.504 GB, free: 4.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4855/0.4858, allocations: 81.57 MB / 0.5837 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.8468/1.333, allocations: 347 MB / 0.9225 GB, free: 20.98 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.05471/1.387, allocations: 41.43 MB / 0.963 GB, free: 16.67 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008812/1.396, allocations: 146 kB / 0.9631 GB, free: 16.67 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.007408/1.404, allocations: 1.788 MB / 0.9649 GB, free: 16.15 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01778/1.422, allocations: 5.287 MB / 0.97 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.008999/1.431, allocations: 2.774 MB / 0.9727 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01623/1.447, allocations: 13.08 MB / 0.9855 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01121/1.458, allocations: 3.957 MB / 0.9894 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01941/1.478, allocations: 4.861 MB / 0.9941 GB, free: 7.152 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00937/1.487, allocations: 3.295 MB / 0.9973 GB, free: 4.113 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001863/1.489, allocations: 172 kB / 0.9975 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01223/1.501, allocations: 3.333 MB / 1.001 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003714/1.505, allocations: 1.341 MB / 1.002 GB, free: 15.39 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00337/1.508, allocations: 1.003 MB / 1.003 GB, free: 14.38 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0123/1.521, allocations: 6.633 MB / 1.01 GB, free: 8.055 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/1.521, allocations: 0 / 1.01 GB, free: 8.055 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.332e-06/1.521, allocations: 0 / 1.01 GB, free: 8.055 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003338/1.521, allocations: 4 kB / 1.01 GB, free: 8.051 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 856 * Number of variables: 856 Notification: Performance of Generate backend data structure: time 0.01277/1.534, allocations: 4.763 MB / 1.014 GB, free: 3.277 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/1.534, allocations: 8.031 kB / 1.014 GB, free: 3.27 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01086/1.545, allocations: 1.911 MB / 1.016 GB, free: 1.355 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008147/1.553, allocations: 3.398 MB / 1.019 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001618/1.555, allocations: 0.6991 MB / 1.02 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001266/1.556, allocations: 345.9 kB / 1.02 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01166/1.568, allocations: 4.607 MB / 1.025 GB, free: 8.227 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-05/1.568, allocations: 4 kB / 1.025 GB, free: 8.223 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003852/1.568, allocations: 139.5 kB / 1.025 GB, free: 8.09 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001355/1.568, allocations: 134.5 kB / 1.025 GB, free: 7.957 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009573/1.578, allocations: 4.19 MB / 1.029 GB, free: 3.758 MB / 0.6856 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.608, allocations: 18.78 MB / 1.048 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00428/1.613, allocations: 2.067 MB / 1.05 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0024/1.615, allocations: 1.089 MB / 1.051 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007244/1.616, allocations: 445.4 kB / 1.051 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002687/1.619, allocations: 1.272 MB / 1.052 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001982/1.621, allocations: 177.4 kB / 1.053 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=135): time 3.216e-06/1.621, allocations: 0 / 1.053 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of matching and sorting (n=135): time 0.008479/1.629, allocations: 3.314 MB / 1.056 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.864e-05/1.629, allocations: 153.8 kB / 1.056 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006318/1.635, allocations: 3.655 MB / 1.059 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003334/1.636, allocations: 57.7 kB / 1.06 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001854/1.638, allocations: 2.018 MB / 1.061 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005847/1.638, allocations: 480.2 kB / 1.062 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/1.638, allocations: 36 kB / 1.062 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001682/1.639, allocations: 377.9 kB / 1.062 GB, free: 484 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00296/1.642, allocations: 1.144 MB / 1.063 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003755/1.645, allocations: 1.828 MB / 1.065 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003491/1.649, allocations: 1.32 MB / 1.067 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-05/1.649, allocations: 4 kB / 1.067 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.008536/1.657, allocations: 3.27 MB / 1.07 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000588/1.658, allocations: 0.5925 MB / 1.07 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.763e-05/1.658, allocations: 16 kB / 1.07 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.371e-05/1.658, allocations: 31.98 kB / 1.07 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002548/1.661, allocations: 0.5774 MB / 1.071 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-05/1.661, allocations: 35.92 kB / 1.071 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004949/1.666, allocations: 0.6254 MB / 1.072 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002363/1.666, allocations: 95.91 kB / 1.072 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/1.666, allocations: 4 kB / 1.072 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006809/1.673, allocations: 2.91 MB / 1.074 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.418e-05/1.673, allocations: 19.36 kB / 1.075 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.3e-05/1.673, allocations: 31.95 kB / 1.075 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002628/1.676, allocations: 0.5734 MB / 1.075 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.401e-05/1.676, allocations: 35.86 kB / 1.075 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004387/1.68, allocations: 0.5356 MB / 1.076 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000201/1.68, allocations: 91.97 kB / 1.076 GB, free: 2.195 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (230): * Single equations (assignments): 226 * Array equations: 3 * Algorithm blocks: 1 * 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.002505/1.683, allocations: 1.125 MB / 1.077 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008541/1.684, allocations: 367.3 kB / 1.077 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005946/1.69, allocations: 2.616 MB / 1.08 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/1.69, allocations: 12 kB / 1.08 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/1.69, allocations: 0 / 1.08 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004501/1.694, allocations: 2.21 MB / 1.082 GB, free: 11.73 MB / 0.7481 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.01512/1.709, allocations: 7.117 MB / 1.089 GB, free: 4.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/1.709, allocations: 8 kB / 1.089 GB, free: 4.402 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001793/1.711, allocations: 372.2 kB / 1.089 GB, free: 4.039 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002434/1.711, allocations: 56.83 kB / 1.089 GB, free: 3.98 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/1.712, allocations: 47.97 kB / 1.089 GB, free: 3.934 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/1.713, allocations: 1.448 MB / 1.091 GB, free: 2.355 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.02e-05/1.713, allocations: 16 kB / 1.091 GB, free: 2.34 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007965/1.721, allocations: 3.877 MB / 1.095 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002055/1.723, allocations: 0.6875 MB / 1.095 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004611/1.723, allocations: 39.98 kB / 1.095 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002894/1.726, allocations: 439.3 kB / 1.096 GB, free: 13.14 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002288/1.727, allocations: 116.7 kB / 1.096 GB, free: 13.03 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000145/1.727, allocations: 70.58 kB / 1.096 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.004212/1.731, allocations: 2.537 MB / 1.098 GB, free: 10.42 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.01e-07/1.731, allocations: 4 kB / 1.098 GB, free: 10.42 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.005207/1.736, allocations: 2.017 MB / 1.1 GB, free: 8.395 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 4 (conPI.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001116/1.737, allocations: 498.5 kB / 1.101 GB, free: 7.934 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.009155/1.746, allocations: 4.054 MB / 1.105 GB, free: 3.859 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.41e-05/1.746, allocations: 2.406 kB / 1.105 GB, free: 3.859 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0027/1.749, allocations: 1.186 MB / 1.106 GB, free: 2.664 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009202/1.758, allocations: 1.919 MB / 1.108 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3657/2.124, allocations: 9.409 MB / 1.117 GB, free: 324.4 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00307/2.127, allocations: 2.651 MB / 1.12 GB, free: 323.6 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00156/2.129, allocations: 278.7 kB / 1.12 GB, free: 323.6 MB / 0.7637 GB Notification: Performance of SimCode: time 1.192e-06/2.129, allocations: 1.859 kB / 1.12 GB, free: 323.6 MB / 0.7637 GB Notification: Performance of Templates: time 0.1164/2.245, allocations: 77.02 MB / 1.195 GB, free: 267.5 MB / 0.7637 GB make -j1 -f IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile make -j1 -f IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.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.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaustCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaustCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaustCalcHelperMain.o] Error 1