Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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_CpData_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001314/0.001314, allocations: 108.4 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.001362/0.001362, 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.301/1.301, 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-master/package.mo): time 0.7878/0.7878, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 64.34 kB / 0.5863 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1407, allocations: 80.92 MB / 0.6653 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.4976/0.6384, allocations: 153.8 MB / 0.8155 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01323/0.6517, allocations: 10.4 MB / 0.8256 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009565/0.6527, allocations: 17.22 kB / 0.8256 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008938/0.6536, allocations: 266.6 kB / 0.8259 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002712/0.6563, allocations: 0.8989 MB / 0.8268 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0025/0.6588, allocations: 1.044 MB / 0.8278 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001599/0.6604, allocations: 1.51 MB / 0.8293 GB, free: 88 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001337/0.6618, allocations: 1.144 MB / 0.8304 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001632/0.6634, allocations: 0.676 MB / 0.831 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005513/0.664, allocations: 0.5557 MB / 0.8316 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001271/0.6641, allocations: 123.2 kB / 0.8317 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001947/0.6661, allocations: 1.018 MB / 0.8327 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003041/0.6664, allocations: 360.3 kB / 0.833 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005048/0.6669, allocations: 0.5947 MB / 0.8336 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002437/0.6694, allocations: 2.059 MB / 0.8356 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.6694, allocations: 0 / 0.8356 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6694, allocations: 0 / 0.8356 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.977e-05/0.6694, allocations: 0 / 0.8356 GB, free: 11.9 MB / 0.6075 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.0025/0.6719, allocations: 1.597 MB / 0.8372 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.672, allocations: 15.11 kB / 0.8372 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001505/0.6735, allocations: 257.6 kB / 0.8374 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.6746, allocations: 0.8744 MB / 0.8383 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.99e-05/0.6747, allocations: 67.94 kB / 0.8384 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.6748, allocations: 87.66 kB / 0.8384 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.6765, allocations: 1.042 MB / 0.8395 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.6766, allocations: 0 / 0.8395 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.116e-05/0.6767, allocations: 46.03 kB / 0.8395 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.6767, allocations: 22.69 kB / 0.8395 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001945/0.6786, allocations: 1.268 MB / 0.8408 GB, free: 8.508 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.004567/0.6832, allocations: 3.041 MB / 0.8437 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.6849, allocations: 1.015 MB / 0.8447 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006702/0.6856, allocations: 394.7 kB / 0.8451 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002327/0.6858, allocations: 145.2 kB / 0.8452 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009698/0.6868, allocations: 0.5358 MB / 0.8458 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=86): time 2.184e-06/0.6868, allocations: 0 / 0.8458 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of matching and sorting (n=86): time 0.003686/0.6905, allocations: 1.503 MB / 0.8472 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.6906, allocations: 198.5 kB / 0.8474 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008766/0.6915, allocations: 0.7647 MB / 0.8482 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.828e-05/0.6916, allocations: 43.61 kB / 0.8482 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003296/0.6919, allocations: 443.2 kB / 0.8486 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002181/0.6921, allocations: 283 kB / 0.8489 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002619/0.6924, allocations: 179.8 kB / 0.8491 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.6926, allocations: 336.7 kB / 0.8494 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006388/0.6932, allocations: 329.6 kB / 0.8497 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007948/0.694, allocations: 437.6 kB / 0.8501 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/0.6954, allocations: 0.7374 MB / 0.8508 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.6954, allocations: 0 / 0.8508 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002224/0.6977, allocations: 1.002 MB / 0.8518 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.6977, allocations: 11.94 kB / 0.8518 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.6977, allocations: 0 / 0.8518 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006914/0.6984, allocations: 113.7 kB / 0.8519 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008181/0.6992, allocations: 196.4 kB / 0.8521 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003008/0.7023, allocations: 3.056 MB / 0.8551 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007945/0.7031, allocations: 103.2 kB / 0.8552 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.298e-05/0.7031, allocations: 39.97 kB / 0.8553 GB, free: 11.99 MB / 0.6231 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.0005065/0.7037, allocations: 285.7 kB / 0.8555 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/0.7039, allocations: 98.72 kB / 0.8556 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/0.7065, allocations: 1.216 MB / 0.8568 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.7066, allocations: 12 kB / 0.8568 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.7066, allocations: 7.922 kB / 0.8568 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.7066, allocations: 3.984 kB / 0.8568 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003737/0.7103, allocations: 2.232 MB / 0.859 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.7103, allocations: 0 / 0.859 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007662/0.7111, allocations: 191.8 kB / 0.8592 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005413/0.7117, allocations: 101.6 kB / 0.8593 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.557e-05/0.7117, allocations: 23.98 kB / 0.8593 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002858/0.7146, allocations: 3.096 MB / 0.8623 GB, free: 4.359 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.7146, allocations: 7.969 kB / 0.8623 GB, free: 4.352 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002263/0.7169, allocations: 1.131 MB / 0.8634 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004125/0.7173, allocations: 295.6 kB / 0.8637 GB, free: 2.891 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.7174, allocations: 19.94 kB / 0.8638 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007026/0.7181, allocations: 71.98 kB / 0.8638 GB, free: 2.801 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.7183, allocations: 76.84 kB / 0.8639 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.323e-05/0.7184, allocations: 35.97 kB / 0.8639 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006769/0.7191, allocations: 0.542 MB / 0.8645 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7191, allocations: 0 / 0.8645 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001099/0.7202, allocations: 415.2 kB / 0.8649 GB, free: 1.746 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.001551/0.7217, allocations: 0.706 MB / 0.8655 GB, free: 1.223 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00206/0.7238, allocations: 1.072 MB / 0.8666 GB, free: 132 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.7238, allocations: 0 / 0.8666 GB, free: 132 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.725, allocations: 0.6982 MB / 0.8673 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.7264, allocations: 340.5 kB / 0.8676 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004275/0.7306, allocations: 2.045 MB / 0.8696 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006391/0.7313, allocations: 1.071 MB / 0.8706 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003533/0.7317, allocations: 131.3 kB / 0.8708 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of SimCode: time 4.91e-07/0.7317, allocations: 0 / 0.8708 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of Templates: time 0.02916/0.7608, allocations: 25.71 MB / 0.8959 GB, free: 2.109 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.makefile make -j1 -f IDEAS_dev_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-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_CpData_SpecificationCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_SpecificationCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_SpecificationCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_SpecificationFunctions.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_CpData_SpecificationCalcHelperMain.o] Error 1