Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PressurizationData.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.Airflow.Multizone.Examples.PressurizationData,tolerance=1e-08,outputFormat="empty",numberOfIntervals=8640,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PressurizationData") translateModel(IDEAS.Airflow.Multizone.Examples.PressurizationData,tolerance=1e-08,outputFormat="empty",numberOfIntervals=8640,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PressurizationData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 110.5 kB / 15.99 MB, free: 6.344 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.001066/0.001066, allocations: 195.4 kB / 16.91 MB, free: 6.176 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.336/1.336, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7892/0.7892, allocations: 135.1 MB / 425.9 MB, free: 4.285 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.001299, allocations: 63.84 kB / 0.5055 GB, free: 8.691 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.35, allocations: 80.92 MB / 0.5845 GB, free: 25.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PressurizationData): time 0.6141/0.9641, allocations: 183.8 MB / 0.764 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02143/0.9856, allocations: 15.64 MB / 0.7793 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002559/0.9882, allocations: 40.62 kB / 0.7793 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002103/0.9903, allocations: 0.5878 MB / 0.7799 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007053/0.9974, allocations: 1.999 MB / 0.7819 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005365/1.003, allocations: 1.604 MB / 0.7834 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004952/1.008, allocations: 3.374 MB / 0.7867 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002839/1.011, allocations: 1.93 MB / 0.7886 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004727/1.015, allocations: 1.438 MB / 0.79 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002768/1.018, allocations: 1.228 MB / 0.7912 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005458/1.019, allocations: 203.6 kB / 0.7914 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004631/1.023, allocations: 1.968 MB / 0.7933 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007304/1.024, allocations: 0.6274 MB / 0.7939 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001445/1.026, allocations: 1.072 MB / 0.795 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003798/1.029, allocations: 2.526 MB / 0.7974 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/1.029, allocations: 4.156 kB / 0.7974 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/1.029, allocations: 2.562 kB / 0.7974 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.664e-05/1.029, allocations: 0.9375 kB / 0.7974 GB, free: 0.5664 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 408 * Number of variables: 408 Notification: Performance of Generate backend data structure: time 0.004453/1.034, allocations: 2.417 MB / 0.7998 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/1.034, allocations: 9.172 kB / 0.7998 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003378/1.037, allocations: 0.5103 MB / 0.8003 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002011/1.039, allocations: 1.223 MB / 0.8015 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-05/1.04, allocations: 118.7 kB / 0.8016 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002095/1.04, allocations: 164.8 kB / 0.8018 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003078/1.043, allocations: 1.794 MB / 0.8035 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.862e-05/1.043, allocations: 2.906 kB / 0.8035 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/1.043, allocations: 72.28 kB / 0.8036 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.649e-05/1.043, allocations: 61.94 kB / 0.8037 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002803/1.046, allocations: 1.814 MB / 0.8054 GB, free: 14.61 MB / 0.5919 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.008264/1.054, allocations: 6.139 MB / 0.8114 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/1.056, allocations: 1.484 MB / 0.8129 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008959/1.057, allocations: 0.6207 MB / 0.8135 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006837/1.058, allocations: 0.6261 MB / 0.8141 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001311/1.059, allocations: 0.7914 MB / 0.8149 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=133): time 4.369e-06/1.059, allocations: 3.5 kB / 0.8149 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133): time 0.005176/1.064, allocations: 2.197 MB / 0.817 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/1.065, allocations: 198.9 kB / 0.8172 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/1.066, allocations: 1.053 MB / 0.8182 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001364/1.066, allocations: 53.17 kB / 0.8183 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00064/1.067, allocations: 0.6913 MB / 0.819 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004295/1.067, allocations: 454.4 kB / 0.8194 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003824/1.068, allocations: 244.8 kB / 0.8196 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001496/1.068, allocations: 353.3 kB / 0.82 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008219/1.069, allocations: 475.6 kB / 0.8204 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/1.07, allocations: 0.6263 MB / 0.821 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001838/1.072, allocations: 1.121 MB / 0.8221 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.072, allocations: 3.938 kB / 0.8221 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003293/1.075, allocations: 1.483 MB / 0.8236 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/1.075, allocations: 7.438 kB / 0.8236 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/1.075, allocations: 1.25 kB / 0.8236 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008499/1.076, allocations: 143.5 kB / 0.8237 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/1.077, allocations: 289.6 kB / 0.824 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004412/1.082, allocations: 4.552 MB / 0.8284 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/1.083, allocations: 163.7 kB / 0.8286 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/1.083, allocations: 51.22 kB / 0.8287 GB, free: 1.426 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009491/1.084, allocations: 405.4 kB / 0.829 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003072/1.085, allocations: 151 kB / 0.8292 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003549/1.088, allocations: 1.704 MB / 0.8308 GB, free: 112 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/1.088, allocations: 15.88 kB / 0.8309 GB, free: 112 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.088, allocations: 0 / 0.8309 GB, free: 112 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002667/1.091, allocations: 1.391 MB / 0.8322 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005566/1.097, allocations: 3.306 MB / 0.8354 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.301e-06/1.097, allocations: 0 / 0.8354 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/1.098, allocations: 299.5 kB / 0.8357 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006188/1.099, allocations: 133.4 kB / 0.8359 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.205e-05/1.099, allocations: 35.98 kB / 0.8359 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00378/1.102, allocations: 4.551 MB / 0.8403 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.102, allocations: 8 kB / 0.8403 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004415/1.107, allocations: 2.305 MB / 0.8426 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009125/1.108, allocations: 410.8 kB / 0.843 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000218/1.108, allocations: 31.94 kB / 0.843 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/1.109, allocations: 117.6 kB / 0.8431 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002284/1.11, allocations: 97.17 kB / 0.8432 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/1.11, allocations: 55.97 kB / 0.8433 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001025/1.111, allocations: 0.7253 MB / 0.844 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.51e-07/1.111, allocations: 0 / 0.844 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001727/1.112, allocations: 0.6119 MB / 0.8446 GB, free: 2.199 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (room.dynBal.U,room.dynBal.m,room.dynBal.mXi[1],pow_1dat.mExc,pow_1dat1.mExc) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001884/1.114, allocations: 0.7248 MB / 0.8453 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00461/1.119, allocations: 2.066 MB / 0.8473 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/1.119, allocations: 448 / 0.8473 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001597/1.121, allocations: 1.037 MB / 0.8483 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003205/1.124, allocations: 0.6959 MB / 0.849 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007355/1.131, allocations: 4.173 MB / 0.8531 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009318/1.132, allocations: 1.362 MB / 0.8544 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007256/1.133, allocations: 171.4 kB / 0.8546 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of SimCode: time 9.12e-07/1.133, allocations: 8 kB / 0.8546 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of Templates: time 0.05876/1.192, allocations: 47.85 MB / 0.9013 GB, free: 8.473 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PressurizationData.makefile make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PressurizationData.makefile clang++ -std=c++14 -fopenmp=libomp -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-master/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-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.Airflow.Multizone.Examples.PressurizationDataCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Airflow.Multizone.Examples.PressurizationDataCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.Airflow.Multizone.Examples.PressurizationDataCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.Airflow.Multizone.Examples.PressurizationDataFunctions.cpp:8: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/C-Sources/getTimeSpan.c:27:9: error: cannot initialize a variable of type 'char *' with an rvalue of type 'void *' char *result = malloc(len1 + len2 + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppIDEAS_dev_IDEAS.Airflow.Multizone.Examples.PressurizationDataCalcHelperMain.o] Error 1