Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005359/0.005359, allocations: 100.2 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001035, allocations: 189.2 kB / 16.79 MB, free: 5.809 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8299/0.8299, allocations: 132.2 MB / 422.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 51.77 kB / 0.5017 GB, free: 9.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1847, allocations: 80.21 MB / 0.58 GB, free: 9.199 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.4813/0.666, allocations: 158.4 MB / 0.7347 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03868/0.7047, allocations: 26.62 MB / 0.7607 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004764/0.7095, allocations: 67.62 kB / 0.7608 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002851/0.7125, allocations: 0.8984 MB / 0.7617 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006144/0.7186, allocations: 1.521 MB / 0.7631 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00615/0.7248, allocations: 1.501 MB / 0.7646 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007694/0.7325, allocations: 5.062 MB / 0.7695 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005629/0.7382, allocations: 3.82 MB / 0.7733 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002897/0.7411, allocations: 1.673 MB / 0.7749 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003295/0.7444, allocations: 2.282 MB / 0.7771 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006169/0.745, allocations: 247.9 kB / 0.7774 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00238/0.7474, allocations: 0.839 MB / 0.7782 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009429/0.7484, allocations: 0.9419 MB / 0.7791 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0022/0.7506, allocations: 1.802 MB / 0.7809 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005184/0.7558, allocations: 4.475 MB / 0.7852 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.7558, allocations: 0 / 0.7852 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7558, allocations: 0 / 0.7852 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001242/0.7559, allocations: 0 / 0.7852 GB, free: 0.9102 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.009346/0.7653, allocations: 4.489 MB / 0.7896 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.7654, allocations: 12.03 kB / 0.7896 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01319/0.7786, allocations: 2.768 MB / 0.7923 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004857/0.7835, allocations: 2.266 MB / 0.7946 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/0.7837, allocations: 238.5 kB / 0.7948 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000551/0.7842, allocations: 319.9 kB / 0.7951 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01103/0.7953, allocations: 5.14 MB / 0.8001 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.195e-05/0.7954, allocations: 0 / 0.8001 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000356/0.7957, allocations: 139.9 kB / 0.8002 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.94e-05/0.7958, allocations: 79.94 kB / 0.8003 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01432/0.8101, allocations: 6.288 MB / 0.8065 GB, free: 10.93 MB / 0.6231 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.03084/0.841, allocations: 14.52 MB / 0.8206 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01102/0.8521, allocations: 4.515 MB / 0.825 GB, free: 7.363 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005679/0.8578, allocations: 2.455 MB / 0.8274 GB, free: 4.906 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001115/0.859, allocations: 0.6696 MB / 0.8281 GB, free: 4.105 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006255/0.8652, allocations: 2.458 MB / 0.8305 GB, free: 1.605 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=270): time 5.48e-06/0.8653, allocations: 0 / 0.8305 GB, free: 1.605 MB / 0.6387 GB Notification: Performance of matching and sorting (n=270): time 0.02044/0.8857, allocations: 7.535 MB / 0.8379 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/0.8859, allocations: 214 kB / 0.8381 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004073/0.89, allocations: 2.397 MB / 0.8404 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0005269/0.8905, allocations: 73.7 kB / 0.8405 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001421/0.892, allocations: 1.349 MB / 0.8418 GB, free: 5.824 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001279/0.8933, allocations: 0.8972 MB / 0.8427 GB, free: 4.914 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001537/0.8948, allocations: 496.5 kB / 0.8431 GB, free: 4.422 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.8949, allocations: 305.1 kB / 0.8434 GB, free: 4.121 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004826/0.8998, allocations: 1.968 MB / 0.8454 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005106/0.9049, allocations: 2.273 MB / 0.8476 GB, free: 15.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009825/0.9147, allocations: 4.228 MB / 0.8517 GB, free: 11.48 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.728e-05/0.9148, allocations: 11.94 kB / 0.8517 GB, free: 11.47 MB / 0.67 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01226/0.9271, allocations: 4.959 MB / 0.8566 GB, free: 6.457 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.9271, allocations: 4 kB / 0.8566 GB, free: 6.453 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.9272, allocations: 4 kB / 0.8566 GB, free: 6.449 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009068/0.9281, allocations: 352.8 kB / 0.8569 GB, free: 6.102 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003903/0.932, allocations: 0.78 MB / 0.8577 GB, free: 5.32 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005356/0.9374, allocations: 3.914 MB / 0.8615 GB, free: 1.281 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003903/0.9413, allocations: 0.5439 MB / 0.862 GB, free: 0.7344 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005898/0.9419, allocations: 115.9 kB / 0.8621 GB, free: 0.6211 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (278): * Single equations (assignments): 277 * 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): 1 system {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.3298/1.272, allocations: 0.9198 MB / 0.863 GB, free: 219.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008772/1.273, allocations: 272.6 kB / 0.8633 GB, free: 219.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01146/1.284, allocations: 5.539 MB / 0.8687 GB, free: 218.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/1.284, allocations: 32.7 kB / 0.8687 GB, free: 218.7 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/1.284, allocations: 5.875 kB / 0.8687 GB, free: 218.7 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.438e-05/1.284, allocations: 17.3 kB / 0.8687 GB, free: 218.7 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01579/1.3, allocations: 9.274 MB / 0.8778 GB, free: 215.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/1.3, allocations: 6.969 kB / 0.8778 GB, free: 215.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003438/1.303, allocations: 0.7299 MB / 0.8785 GB, free: 215.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001001/1.304, allocations: 381.5 kB / 0.8789 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002708/1.305, allocations: 80.33 kB / 0.879 GB, free: 215.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004907/1.31, allocations: 5.783 MB / 0.8846 GB, free: 211 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.31, allocations: 7.281 kB / 0.8846 GB, free: 211 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01584/1.326, allocations: 7.911 MB / 0.8923 GB, free: 208.4 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002262/1.328, allocations: 0.804 MB / 0.8931 GB, free: 207.9 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006085/1.328, allocations: 58.16 kB / 0.8932 GB, free: 207.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003147/1.332, allocations: 416.7 kB / 0.8936 GB, free: 207.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005387/1.332, allocations: 177.4 kB / 0.8937 GB, free: 207.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002764/1.332, allocations: 97.14 kB / 0.8938 GB, free: 207.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003442/1.336, allocations: 1.743 MB / 0.8955 GB, free: 207.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/1.336, allocations: 0 / 0.8955 GB, free: 207.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005267/1.341, allocations: 1.028 MB / 0.8965 GB, free: 207 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,25,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002895/1.344, allocations: 1.025 MB / 0.8975 GB, free: 206.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01159/1.356, allocations: 4.796 MB / 0.9022 GB, free: 205.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/1.356, allocations: 3.5 kB / 0.9022 GB, free: 205.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006633/1.362, allocations: 2.759 MB / 0.9049 GB, free: 204.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00378/1.366, allocations: 0.6302 MB / 0.9055 GB, free: 204 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01679/1.383, allocations: 9.298 MB / 0.9146 GB, free: 199.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002595/1.386, allocations: 2.381 MB / 0.9169 GB, free: 198.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002155/1.388, allocations: 300.3 kB / 0.9172 GB, free: 198.3 MB / 0.67 GB Notification: Performance of SimCode: time 1.373e-06/1.388, allocations: 0 / 0.9172 GB, free: 198.3 MB / 0.67 GB Notification: Performance of Templates: time 0.09101/1.479, allocations: 82.22 MB / 0.9975 GB, free: 128.7 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElementsCalcHelperMain.o OMCppIDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElementsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElementsCalcHelperMain.o] Error 1