Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_case_studies.HVAC_simple.AHU_control_case_001.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/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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(AES.Coursework.ThermSys_case_studies.HVAC_simple.AHU_control_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_case_studies.HVAC_simple.AHU_control_case_001") translateModel(AES.Coursework.ThermSys_case_studies.HVAC_simple.AHU_control_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_case_studies.HVAC_simple.AHU_control_case_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001142, allocations: 111.9 kB / 16.42 MB, free: 6.523 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.001258/0.001258, allocations: 185.9 kB / 17.36 MB, free: 5.746 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08929/0.08929, allocations: 22.32 MB / 313.5 MB, free: 8.871 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.426e-05, allocations: 2.281 kB / 437.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.HVAC_simple.AHU_control_case_001): time 0.00652/0.006553, allocations: 5.767 MB / 443.4 MB, free: 5.992 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003071/0.009646, allocations: 1.746 MB / 445.2 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006077/0.01027, allocations: 8 kB / 445.2 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003671/0.01065, allocations: 130.6 kB / 445.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009396/0.0116, allocations: 348.9 kB / 445.7 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.01271, allocations: 475.2 kB / 446.1 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002063/0.01478, allocations: 1.84 MB / 448 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001295/0.01609, allocations: 0.9623 MB / 448.9 MB, free: 488 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009327/0.01703, allocations: 0.674 MB / 449.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009523/0.018, allocations: 0.7747 MB / 450.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002808/0.01829, allocations: 168 kB / 450.5 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003282/0.01863, allocations: 168 kB / 450.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.001313/0.01995, allocations: 2.05 MB / 452.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006246/0.02058, allocations: 1.097 MB / 453.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003046/0.0209, allocations: 231.3 kB / 454.1 MB, free: 11.28 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0001638/0.02107, allocations: 31.88 kB / 454.1 MB, free: 11.25 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 330 (330) * Number of variables: 328 (328) Notification: Performance of Bindings: time 0.005079/0.02615, allocations: 5.942 MB / 460 MB, free: 5.09 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.001482/0.02764, allocations: 1.241 MB / 461.3 MB, free: 3.844 MB / 334.1 MB Notification: Performance of Early Inline: time 0.004334/0.03199, allocations: 3.787 MB / 465.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simplify1: time 0.0005582/0.03258, allocations: 387.5 kB / 465.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of Alias: time 0.009356/0.04194, allocations: 7.976 MB / 473.4 MB, free: 7.074 MB / 350.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:2011:9-2012:55:writable] Error: Internal error NFCeval.evalBuiltinCall: unimplemented case for $OMC$PositiveMax Notification: Performance of simplify2: time 0.0004296/0.04241, allocations: 279.7 kB / 473.7 MB, free: 6.801 MB / 350.1 MB Notification: Performance of Detect States: time 0.0009953/0.04341, allocations: 0.6682 MB / 474.4 MB, free: 6.109 MB / 350.1 MB Notification: Performance of Events: time 0.0004699/0.04389, allocations: 275.6 kB / 474.6 MB, free: 5.832 MB / 350.1 MB Notification: Performance of Partitioning: time 0.001161/0.04506, allocations: 0.9381 MB / 475.6 MB, free: 4.859 MB / 350.1 MB Notification: Performance of Causalize: time 0.005404/0.05048, allocations: 3.99 MB / 479.6 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.002156/0.05266, allocations: 2.121 MB / 481.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of Inline: time 0.00301/0.05568, allocations: 3.292 MB / 485 MB, free: 11.29 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0001639/0.05585, allocations: 151.6 kB / 485.1 MB, free: 11.13 MB / 366.1 MB Notification: Performance of Cleanup: time 0.0003852/0.05625, allocations: 447.3 kB / 485.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of Causalize: time 0.01795/0.07421, allocations: 15.78 MB / 0.4896 GB, free: 10.7 MB / 382.1 MB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: $OMC$PositiveMax Error: Internal error NBInitialization.main failed to apply modules!