Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.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.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 107.8 kB / 16.41 MB, free: 6.438 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.001708/0.001708, allocations: 189.6 kB / 17.34 MB, free: 5.742 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8364/0.8364, allocations: 132.2 MB / 423.4 MB, free: 6.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 68.3 kB / 0.582 GB, free: 23.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1607, allocations: 80.21 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.5756/0.7363, allocations: 153.8 MB / 0.8105 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0143/0.7507, allocations: 10.4 MB / 0.8206 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00129/0.752, allocations: 22.69 kB / 0.8207 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009855/0.753, allocations: 257 kB / 0.8209 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003319/0.7564, allocations: 0.9142 MB / 0.8218 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002937/0.7593, allocations: 1.045 MB / 0.8228 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002015/0.7614, allocations: 1.512 MB / 0.8243 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00164/0.763, allocations: 1.138 MB / 0.8254 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002086/0.7651, allocations: 0.6706 MB / 0.8261 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007022/0.7658, allocations: 0.5523 MB / 0.8266 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.766, allocations: 125.5 kB / 0.8267 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002302/0.7683, allocations: 1.017 MB / 0.8277 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003156/0.7686, allocations: 365.7 kB / 0.8281 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005989/0.7692, allocations: 0.5947 MB / 0.8286 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003131/0.7724, allocations: 2.06 MB / 0.8307 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.7724, allocations: 0 / 0.8307 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7724, allocations: 0 / 0.8307 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.441e-05/0.7724, allocations: 0 / 0.8307 GB, free: 1.641 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002817/0.7753, allocations: 1.602 MB / 0.8322 GB, free: 408 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.7753, allocations: 9.875 kB / 0.8322 GB, free: 408 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/0.7769, allocations: 254.1 kB / 0.8325 GB, free: 288 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.7783, allocations: 0.87 MB / 0.8333 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.925e-05/0.7783, allocations: 71.69 kB / 0.8334 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.7785, allocations: 87.88 kB / 0.8335 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/0.7803, allocations: 1.046 MB / 0.8345 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.7803, allocations: 0 / 0.8345 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-05/0.7804, allocations: 46.25 kB / 0.8345 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.7805, allocations: 22.41 kB / 0.8346 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002092/0.7826, allocations: 1.266 MB / 0.8358 GB, free: 14.25 MB / 0.6075 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.004875/0.7875, allocations: 3.044 MB / 0.8388 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.7892, allocations: 1.009 MB / 0.8398 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006711/0.7899, allocations: 393.7 kB / 0.8401 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002404/0.7901, allocations: 138.5 kB / 0.8403 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001002/0.7911, allocations: 0.5388 MB / 0.8408 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=86): time 2.505e-06/0.7911, allocations: 4 kB / 0.8408 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of matching and sorting (n=86): time 0.003883/0.795, allocations: 1.515 MB / 0.8423 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.7952, allocations: 188.5 kB / 0.8425 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.7962, allocations: 0.7611 MB / 0.8432 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.814e-05/0.7963, allocations: 42.89 kB / 0.8432 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003689/0.7967, allocations: 444.1 kB / 0.8437 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/0.7969, allocations: 287 kB / 0.8439 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002433/0.7971, allocations: 171.1 kB / 0.8441 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.7973, allocations: 341.6 kB / 0.8444 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006288/0.7979, allocations: 323.9 kB / 0.8447 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007589/0.7987, allocations: 436 kB / 0.8451 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.8, allocations: 0.7374 MB / 0.8459 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.8001, allocations: 0 / 0.8459 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002349/0.8024, allocations: 1.007 MB / 0.8469 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.8024, allocations: 7.938 kB / 0.8469 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.8025, allocations: 4.062 kB / 0.8469 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000752/0.8032, allocations: 117.6 kB / 0.847 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008536/0.8041, allocations: 195.6 kB / 0.8472 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002974/0.8071, allocations: 3.057 MB / 0.8501 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009662/0.8081, allocations: 103.2 kB / 0.8502 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.914e-05/0.8081, allocations: 39.97 kB / 0.8503 GB, free: 2.738 MB / 0.6075 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 (96): * Single equations (assignments): 94 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005793/0.8087, allocations: 297.5 kB / 0.8506 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/0.809, allocations: 102.8 kB / 0.8507 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002766/0.8117, allocations: 1.213 MB / 0.8518 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.8118, allocations: 8 kB / 0.8519 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.8118, allocations: 7.938 kB / 0.8519 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.8118, allocations: 3.984 kB / 0.8519 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003957/0.8157, allocations: 2.228 MB / 0.854 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.8158, allocations: 0 / 0.854 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009027/0.8167, allocations: 187.8 kB / 0.8542 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005662/0.8173, allocations: 105.6 kB / 0.8543 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.216e-05/0.8173, allocations: 23.98 kB / 0.8543 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003121/0.8205, allocations: 3.096 MB / 0.8574 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.8205, allocations: 8 kB / 0.8574 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002801/0.8233, allocations: 1.127 MB / 0.8585 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004669/0.8238, allocations: 291.6 kB / 0.8588 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.8239, allocations: 23.94 kB / 0.8588 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007351/0.8247, allocations: 72 kB / 0.8588 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.8248, allocations: 64.91 kB / 0.8589 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.034e-05/0.8249, allocations: 43.91 kB / 0.859 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006916/0.8256, allocations: 0.542 MB / 0.8595 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8256, allocations: 0 / 0.8595 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001162/0.8268, allocations: 419.2 kB / 0.8599 GB, free: 8.496 MB / 0.6231 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 (95): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 1 system {(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.001711/0.8285, allocations: 0.7051 MB / 0.8606 GB, free: 8.008 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002247/0.8308, allocations: 1.076 MB / 0.8616 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.8308, allocations: 0 / 0.8616 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001261/0.8321, allocations: 0.6903 MB / 0.8623 GB, free: 6.191 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.8335, allocations: 344.4 kB / 0.8626 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004588/0.8381, allocations: 2.06 MB / 0.8646 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006437/0.8388, allocations: 1.071 MB / 0.8657 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003867/0.8392, allocations: 127.4 kB / 0.8658 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of SimCode: time 5.31e-07/0.8392, allocations: 0 / 0.8658 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of Templates: time 0.03244/0.8716, allocations: 25.69 MB / 0.8909 GB, free: 8.91 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.makefile make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.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/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.Fluid.Sources.Examples.Outside_CpData_SpecificationCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_SpecificationCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_SpecificationCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_SpecificationFunctions.cpp:8: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Sources.Examples.Outside_CpData_SpecificationCalcHelperMain.o] Error 1