Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.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.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 105.5 kB / 16.41 MB, free: 6.488 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.001244/0.001244, allocations: 187 kB / 17.34 MB, free: 5.73 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7937/0.7937, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.64 kB / 0.5863 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1508, allocations: 80.93 MB / 0.6653 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise): time 0.5364/0.6872, allocations: 166.8 MB / 0.8282 GB, free: 424 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01962/0.7069, allocations: 16.83 MB / 0.8446 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001723/0.7086, allocations: 25.69 kB / 0.8447 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001724/0.7104, allocations: 0.5284 MB / 0.8452 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005011/0.7154, allocations: 1.502 MB / 0.8466 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003685/0.7191, allocations: 1.277 MB / 0.8479 GB, free: 288 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003224/0.7224, allocations: 2.354 MB / 0.8502 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002405/0.7248, allocations: 1.896 MB / 0.852 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003836/0.7286, allocations: 1.321 MB / 0.8533 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001431/0.7301, allocations: 0.9078 MB / 0.8542 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003498/0.7304, allocations: 193.9 kB / 0.8544 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003026/0.7335, allocations: 1.409 MB / 0.8558 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004731/0.734, allocations: 0.5261 MB / 0.8563 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.735, allocations: 0.9411 MB / 0.8572 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004423/0.7394, allocations: 2.925 MB / 0.8601 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.7394, allocations: 0 / 0.8601 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.655e-06/0.7395, allocations: 0 / 0.8601 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.997e-05/0.7395, allocations: 0 / 0.8601 GB, free: 7.754 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.003495/0.743, allocations: 2.151 MB / 0.8622 GB, free: 5.543 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.7431, allocations: 13.11 kB / 0.8622 GB, free: 5.531 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003477/0.7465, allocations: 0.4973 MB / 0.8627 GB, free: 5.031 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00167/0.7482, allocations: 1.078 MB / 0.8637 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.099e-05/0.7483, allocations: 123.3 kB / 0.8638 GB, free: 3.789 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001981/0.7485, allocations: 163.9 kB / 0.864 GB, free: 3.629 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003078/0.7516, allocations: 1.775 MB / 0.8657 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.909e-05/0.7517, allocations: 0 / 0.8657 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001564/0.7518, allocations: 72 kB / 0.8658 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.254e-05/0.7519, allocations: 40 kB / 0.8658 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003134/0.755, allocations: 1.827 MB / 0.8676 GB, free: 15.86 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.007378/0.7624, allocations: 4.977 MB / 0.8725 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002742/0.7652, allocations: 1.677 MB / 0.8741 GB, free: 8.883 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/0.7662, allocations: 0.6202 MB / 0.8747 GB, free: 8.258 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008722/0.7671, allocations: 0.8039 MB / 0.8755 GB, free: 7.289 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001479/0.7686, allocations: 0.8177 MB / 0.8763 GB, free: 6.453 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=137): time 2.786e-06/0.7686, allocations: 0 / 0.8763 GB, free: 6.453 MB / 0.6387 GB Notification: Performance of matching and sorting (n=137): time 0.005898/0.7745, allocations: 2.435 MB / 0.8787 GB, free: 3.902 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.7747, allocations: 197.2 kB / 0.8789 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.7758, allocations: 0.7945 MB / 0.8796 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000145/0.7759, allocations: 53.7 kB / 0.8797 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005189/0.7765, allocations: 0.6172 MB / 0.8803 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000367/0.7768, allocations: 465.2 kB / 0.8807 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003555/0.7772, allocations: 234.8 kB / 0.881 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.7773, allocations: 357.9 kB / 0.8813 GB, free: 1.125 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009167/0.7783, allocations: 466.3 kB / 0.8817 GB, free: 0.668 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.7795, allocations: 0.6073 MB / 0.8823 GB, free: 32 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002002/0.7815, allocations: 1.064 MB / 0.8834 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.7815, allocations: 0 / 0.8834 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003287/0.7848, allocations: 1.464 MB / 0.8848 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.7848, allocations: 7.938 kB / 0.8848 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.7848, allocations: 4 kB / 0.8848 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000921/0.7858, allocations: 192.2 kB / 0.885 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/0.7872, allocations: 319.6 kB / 0.8853 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00592/0.7932, allocations: 7.291 MB / 0.8924 GB, free: 4.945 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.7946, allocations: 141.6 kB / 0.8926 GB, free: 4.809 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002427/0.7948, allocations: 51.95 kB / 0.8926 GB, free: 4.758 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (144): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (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.0009795/0.7958, allocations: 357.7 kB / 0.893 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004589/0.7963, allocations: 130.5 kB / 0.8931 GB, free: 4.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004118/0.8004, allocations: 1.74 MB / 0.8948 GB, free: 2.504 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.8004, allocations: 12 kB / 0.8948 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.8005, allocations: 4 kB / 0.8948 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.8005, allocations: 11.91 kB / 0.8948 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005983/0.8065, allocations: 3.257 MB / 0.898 GB, free: 15.14 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.8065, allocations: 0 / 0.898 GB, free: 15.14 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001412/0.8079, allocations: 311.5 kB / 0.8983 GB, free: 14.83 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007607/0.8087, allocations: 188.1 kB / 0.8985 GB, free: 14.63 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/0.8088, allocations: 35.97 kB / 0.8985 GB, free: 14.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005634/0.8145, allocations: 7.311 MB / 0.9056 GB, free: 6.578 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.8145, allocations: 7.875 kB / 0.9056 GB, free: 6.57 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003684/0.8182, allocations: 1.611 MB / 0.9072 GB, free: 4.926 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007672/0.819, allocations: 387 kB / 0.9076 GB, free: 4.527 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002508/0.8192, allocations: 28 kB / 0.9076 GB, free: 4.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/0.8204, allocations: 79.92 kB / 0.9077 GB, free: 4.422 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002325/0.8207, allocations: 105.2 kB / 0.9078 GB, free: 4.316 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001655/0.8208, allocations: 67.95 kB / 0.9079 GB, free: 4.25 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008151/0.8217, allocations: 0.5498 MB / 0.9084 GB, free: 3.707 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8217, allocations: 0 / 0.9084 GB, free: 3.707 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001626/0.8233, allocations: 0.557 MB / 0.9089 GB, free: 3.148 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (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.001745/0.8251, allocations: 0.7194 MB / 0.9096 GB, free: 2.617 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003263/0.8283, allocations: 1.785 MB / 0.9114 GB, free: 0.7656 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.8284, allocations: 0.7969 kB / 0.9114 GB, free: 0.7656 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001938/0.8303, allocations: 1.258 MB / 0.9126 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002491/0.8328, allocations: 0.5011 MB / 0.9131 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006448/0.8393, allocations: 2.81 MB / 0.9158 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/0.8403, allocations: 1.272 MB / 0.9171 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005665/0.8409, allocations: 167.3 kB / 0.9172 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of SimCode: time 1.904e-06/0.8409, allocations: 0 / 0.9172 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of Templates: time 0.05958/0.9005, allocations: 54.9 MB / 0.9709 GB, free: 3.777 MB / 0.7325 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.makefile clang++ -std=c++17 -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.Fluid.Sources.Examples.Outside_CpLowRiseCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRiseCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRiseCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRiseFunctions.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.Fluid.Sources.Examples.Outside_CpLowRiseCalcHelperMain.o] Error 1